Replace PATHFINDER_MACOS with __APPLE__

This commit is contained in:
Ben Gachowski 2020-07-28 20:16:42 -04:00
parent 3ff09fb43b
commit 56b432b466
1 changed files with 1 additions and 5 deletions

View File

@ -5,10 +5,6 @@ header = """\
#ifndef PF_PATHFINDER_H
#define PF_PATHFINDER_H
#if defined(__APPLE__)
#define PATHFINDER_MACOS
#endif
#if defined(__APPLE__) && defined(__OBJC__)
#include <QuartzCore/QuartzCore.h>
#else
@ -64,6 +60,6 @@ include = [
"SVGScene" = "PFSVGScenePrivate"
[defines]
"target_os = macos" = "PATHFINDER_MACOS"
"target_os = macos" = "__APPLE__"
"feature = pf-text" = "PATHFINDER_TEXT"
"feature = pf-gl" = "PATHFINDER_GL"