Commit ea0cdfe1 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

Cut FOLLY_HAVE_MEMRCHR

Summary: [Folly] Cut `FOLLY_HAVE_MEMRCHR` since it is now unused.

Reviewed By: Orvid

Differential Revision: D22130149

fbshipit-source-id: b10c5a52354f5c549d96b54e0c165f08b96612b1
parent 79dc5c64
...@@ -85,9 +85,6 @@ string(REGEX REPLACE ...@@ -85,9 +85,6 @@ string(REGEX REPLACE
check_symbol_exists(pthread_atfork pthread.h FOLLY_HAVE_PTHREAD_ATFORK) check_symbol_exists(pthread_atfork pthread.h FOLLY_HAVE_PTHREAD_ATFORK)
# Unfortunately check_symbol_exists() does not work for memrchr():
# it fails complaining that there are multiple overloaded versions of memrchr()
check_function_exists(memrchr FOLLY_HAVE_MEMRCHR)
check_symbol_exists(accept4 sys/socket.h FOLLY_HAVE_ACCEPT4) check_symbol_exists(accept4 sys/socket.h FOLLY_HAVE_ACCEPT4)
check_symbol_exists(getrandom sys/random.h FOLLY_HAVE_GETRANDOM) check_symbol_exists(getrandom sys/random.h FOLLY_HAVE_GETRANDOM)
check_symbol_exists(preadv sys/uio.h FOLLY_HAVE_PREADV) check_symbol_exists(preadv sys/uio.h FOLLY_HAVE_PREADV)
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <features.h> #include <features.h>
#endif #endif
#cmakedefine FOLLY_HAVE_MEMRCHR 1
#cmakedefine FOLLY_HAVE_ACCEPT4 1 #cmakedefine FOLLY_HAVE_ACCEPT4 1
#cmakedefine01 FOLLY_HAVE_GETRANDOM #cmakedefine01 FOLLY_HAVE_GETRANDOM
#cmakedefine FOLLY_HAVE_PREADV 1 #cmakedefine FOLLY_HAVE_PREADV 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment