Replace PATHFINDER_MACOS with __APPLE__
This commit is contained in:
parent
3ff09fb43b
commit
56b432b466
|
@ -5,10 +5,6 @@ header = """\
|
||||||
#ifndef PF_PATHFINDER_H
|
#ifndef PF_PATHFINDER_H
|
||||||
#define PF_PATHFINDER_H
|
#define PF_PATHFINDER_H
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
|
||||||
#define PATHFINDER_MACOS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__APPLE__) && defined(__OBJC__)
|
#if defined(__APPLE__) && defined(__OBJC__)
|
||||||
#include <QuartzCore/QuartzCore.h>
|
#include <QuartzCore/QuartzCore.h>
|
||||||
#else
|
#else
|
||||||
|
@ -64,6 +60,6 @@ include = [
|
||||||
"SVGScene" = "PFSVGScenePrivate"
|
"SVGScene" = "PFSVGScenePrivate"
|
||||||
|
|
||||||
[defines]
|
[defines]
|
||||||
"target_os = macos" = "PATHFINDER_MACOS"
|
"target_os = macos" = "__APPLE__"
|
||||||
"feature = pf-text" = "PATHFINDER_TEXT"
|
"feature = pf-text" = "PATHFINDER_TEXT"
|
||||||
"feature = pf-gl" = "PATHFINDER_GL"
|
"feature = pf-gl" = "PATHFINDER_GL"
|
Loading…
Reference in New Issue