Skip to content

Commit 058a035

Browse files
committed
Remove Snappy support
1 parent 5bd76dc commit 058a035

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

build_detect_platform

-11
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,6 @@ EOF
173173
COMMON_FLAGS="$COMMON_FLAGS -DLEVELDB_PLATFORM_POSIX"
174174
fi
175175

176-
# Test whether Snappy library is installed
177-
# http://code.google.com/p/snappy/
178-
$CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT 2>/dev/null <<EOF
179-
#include <snappy.h>
180-
int main() {}
181-
EOF
182-
if [ "$?" = 0 ]; then
183-
COMMON_FLAGS="$COMMON_FLAGS -DSNAPPY"
184-
PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy"
185-
fi
186-
187176
# Test whether tcmalloc is available
188177
$CXX $CXXFLAGS -x c++ - -o $CXXOUTPUT -ltcmalloc 2>/dev/null <<EOF
189178
int main() {}

0 commit comments

Comments
 (0)