summaryrefslogtreecommitdiff
path: root/build_detect_platform
diff options
context:
space:
mode:
Diffstat (limited to 'build_detect_platform')
-rwxr-xr-xbuild_detect_platform4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_detect_platform b/build_detect_platform
index d2a20ce..85d3594 100755
--- a/build_detect_platform
+++ b/build_detect_platform
@@ -82,7 +82,7 @@ case "$TARGET_OS" in
;;
Darwin)
PLATFORM=OS_MACOSX
- COMMON_FLAGS="$MEMCMP_FLAG -DOS_MACOSX"
+ COMMON_FLAGS="$MEMCMP_FLAG"
PLATFORM_SHARED_EXT=dylib
[ -z "$INSTALL_PATH" ] && INSTALL_PATH=`pwd`
PLATFORM_SHARED_LDFLAGS="-dynamiclib -install_name $INSTALL_PATH/"
@@ -150,7 +150,7 @@ case "$TARGET_OS" in
;;
IOS)
PLATFORM=IOS
- COMMON_FLAGS="$MEMCMP_FLAG -DOS_MACOSX"
+ COMMON_FLAGS="$MEMCMP_FLAG"
[ -z "$INSTALL_PATH" ] && INSTALL_PATH=`pwd`
PORT_FILE=port/port_posix.cc
PORT_SSE_FILE=port/port_posix_sse.cc