Remove deprecated LEVELDB_PLATFORM_POSIX

Summary:
We have replaced LEVELDB_PLATFORM_POSIX with ROCKSDB_PLATFORM_POSIX in our code
replace it in Makefile

Test Plan: make check

Reviewers: sdong, yiwu, andrewkr, lightmark

Reviewed By: lightmark

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D61365
main
Islam AbdelRahman 8 years ago
parent 7323e4c8ab
commit 4990c0d1a5
  1. 5
      build_tools/build_detect_platform

@ -19,8 +19,7 @@
# #
# The PLATFORM_CCFLAGS and PLATFORM_CXXFLAGS might include the following: # The PLATFORM_CCFLAGS and PLATFORM_CXXFLAGS might include the following:
# #
# -DLEVELDB_PLATFORM_POSIX if cstdatomic is present # -DROCKSDB_PLATFORM_POSIX if posix-platform based
# -DLEVELDB_PLATFORM_NOATOMIC if it is not
# -DSNAPPY if the Snappy library is present # -DSNAPPY if the Snappy library is present
# -DLZ4 if the LZ4 library is present # -DLZ4 if the LZ4 library is present
# -DZSTD if the ZSTD library is present # -DZSTD if the ZSTD library is present
@ -170,7 +169,7 @@ case "$TARGET_OS" in
;; ;;
OS_ANDROID_CROSSCOMPILE) OS_ANDROID_CROSSCOMPILE)
PLATFORM=OS_ANDROID PLATFORM=OS_ANDROID
COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp -D_REENTRANT -DOS_ANDROID -DLEVELDB_PLATFORM_POSIX" COMMON_FLAGS="$COMMON_FLAGS -fno-builtin-memcmp -D_REENTRANT -DOS_ANDROID -DROCKSDB_PLATFORM_POSIX"
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS " # All pthread features are in the Android C library PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS " # All pthread features are in the Android C library
# PORT_FILES=port/android/android.cc # PORT_FILES=port/android/android.cc
CROSS_COMPILE=true CROSS_COMPILE=true

Loading…
Cancel
Save