Skip to content

Commit

Permalink
Fix build on OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Jan 15, 2015
1 parent 70b6550 commit 7831e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-shotcut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ function set_globals {
# MinGW does not provide ffs(), but there is a gcc intrinsic for it.
CFLAGS_[5]="$CFLAGS -Dffs=__builtin_ffs"
elif test "$TARGET_OS" = "Darwin"; then
CFLAGS_[5]="$CFLAGS -I/opt/local/include"
CFLAGS_[5]="$CFLAGS -I/opt/local/include -D__DARWIN__"
else
CFLAGS_[5]="$CFLAGS"
fi
Expand Down

0 comments on commit 7831e4f

Please sign in to comment.