FlatCombining: Use SaturatingSemaphore instead of multi-poster and non-blocking Baton
[folly.git] / CMake / folly-config.h.cmake
1 /*\r
2  * Copyright 2016 Facebook, Inc.\r
3  *\r
4  * Licensed under the Apache License, Version 2.0 (the "License");\r
5  * you may not use this file except in compliance with the License.\r
6  * You may obtain a copy of the License at\r
7  *\r
8  *   http://www.apache.org/licenses/LICENSE-2.0\r
9  *\r
10  * Unless required by applicable law or agreed to in writing, software\r
11  * distributed under the License is distributed on an "AS IS" BASIS,\r
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
13  * See the License for the specific language governing permissions and\r
14  * limitations under the License.\r
15  */\r
16 \r
17 #pragma once\r
18 \r
19 #cmakedefine FOLLY_HAVE_PTHREAD 1\r
20 \r
21 #define FOLLY_HAVE_LIBGFLAGS 1\r
22 #define FOLLY_UNUSUAL_GFLAGS_NAMESPACE 1\r
23 #define FOLLY_GFLAGS_NAMESPACE google\r
24 \r
25 #define FOLLY_HAVE_IFUNC 0\r
26 #define FOLLY_HAVE_MALLOC_H 1\r
27 #define FOLLY_HAVE_MEMRCHR 0\r
28 #define FOLLY_HAVE_PREADV 0\r
29 #define FOLLY_HAVE_PWRITEV 0\r
30 #define FOLLY_HAVE_SCHED_H 1\r
31 #define FOLLY_HAVE_STD__IS_TRIVIALLY_COPYABLE 1\r
32 #define FOLLY_HAVE_STD_THIS_THREAD_SLEEP_FOR 1\r
33 #define FOLLY_HAVE_UNALIGNED_ACCESS 1\r
34 #define FOLLY_HAVE_VLA 0\r
35 #define FOLLY_HAVE_WEAK_SYMBOLS 0\r
36 \r
37 #define FOLLY_VERSION "${PACKAGE_VERSION}"\r
38 \r
39 //#define FOLLY_HAVE_LIBLZ4 1\r
40 //#define FOLLY_HAVE_LIBLZMA 1\r
41 //#define FOLLY_HAVE_LIBSNAPPY 1\r
42 //#define FOLLY_HAVE_LIBZ 1\r
43 //#define FOLLY_HAVE_LIBZSTD 1\r