Skip to content

Commit

Permalink
Replace PATHFINDER_MACOS with __APPLE__
Browse files Browse the repository at this point in the history
  • Loading branch information
errata-c committed Jul 29, 2020
1 parent 3ff09fb commit 56b432b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions c/cbindgen.toml
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 56b432b

Please sign in to comment.