Skip to content

Commit 56b432b

Browse files
committed
Replace PATHFINDER_MACOS with __APPLE__
1 parent 3ff09fb commit 56b432b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

c/cbindgen.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ header = """\
55
#ifndef PF_PATHFINDER_H
66
#define PF_PATHFINDER_H
77
8-
#if defined(__APPLE__)
9-
#define PATHFINDER_MACOS
10-
#endif
11-
128
#if defined(__APPLE__) && defined(__OBJC__)
139
#include <QuartzCore/QuartzCore.h>
1410
#else
@@ -64,6 +60,6 @@ include = [
6460
"SVGScene" = "PFSVGScenePrivate"
6561

6662
[defines]
67-
"target_os = macos" = "PATHFINDER_MACOS"
63+
"target_os = macos" = "__APPLE__"
6864
"feature = pf-text" = "PATHFINDER_TEXT"
6965
"feature = pf-gl" = "PATHFINDER_GL"

0 commit comments

Comments
 (0)