X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=CMake%2Ffolly-config.h.cmake;h=744cfc6e041356de02f2ec0eeb0e4f4a6439b95b;hb=6c511999f92066ed84778bca4491c8d139a3195d;hp=1cefa401724f3d1c0cac68980c08093b033b3c65;hpb=6a7b70f8da1bc06d188aa2e67449a651a16ff5b5;p=folly.git diff --git a/CMake/folly-config.h.cmake b/CMake/folly-config.h.cmake index 1cefa401..744cfc6e 100755 --- a/CMake/folly-config.h.cmake +++ b/CMake/folly-config.h.cmake @@ -1,43 +1,46 @@ -/* - * Copyright 2016 Facebook, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#pragma once - -#cmakedefine FOLLY_HAVE_PTHREAD 1 - -#define FOLLY_HAVE_LIBGFLAGS 1 -#define FOLLY_UNUSUAL_GFLAGS_NAMESPACE 1 -#define FOLLY_GFLAGS_NAMESPACE google - -#define FOLLY_HAVE_IFUNC 0 -#define FOLLY_HAVE_MALLOC_H 1 -#define FOLLY_HAVE_MEMRCHR 0 -#define FOLLY_HAVE_PREADV 0 -#define FOLLY_HAVE_PWRITEV 0 -#define FOLLY_HAVE_SCHED_H 1 -#define FOLLY_HAVE_STD__IS_TRIVIALLY_COPYABLE 1 -#define FOLLY_HAVE_STD_THIS_THREAD_SLEEP_FOR 1 -#define FOLLY_HAVE_UNALIGNED_ACCESS 1 -#define FOLLY_HAVE_VLA 0 -#define FOLLY_HAVE_WEAK_SYMBOLS 0 - -#define FOLLY_VERSION "${PACKAGE_VERSION}" - -//#define FOLLY_HAVE_LIBLZ4 1 -//#define FOLLY_HAVE_LIBLZMA 1 -//#define FOLLY_HAVE_LIBSNAPPY 1 -//#define FOLLY_HAVE_LIBZ 1 -//#define FOLLY_HAVE_LIBZSTD 1 +/* + * Copyright 2016 Facebook, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +#cmakedefine FOLLY_HAVE_PTHREAD 1 +#cmakedefine FOLLY_HAVE_PTHREAD_ATFORK 1 + +#define FOLLY_HAVE_LIBGFLAGS 1 +#define FOLLY_UNUSUAL_GFLAGS_NAMESPACE 1 +#define FOLLY_GFLAGS_NAMESPACE google + +#cmakedefine FOLLY_HAVE_MALLOC_H 1 +#cmakedefine FOLLY_HAVE_BITS_FUNCTEXCEPT_H 1 + +#cmakedefine FOLLY_HAVE_MEMRCHR 1 +#cmakedefine FOLLY_HAVE_PREADV 1 +#cmakedefine FOLLY_HAVE_PWRITEV 1 +#cmakedefine FOLLY_HAVE_CLOCK_GETTIME 1 + +#cmakedefine FOLLY_HAVE_IFUNC 1 +#cmakedefine FOLLY_HAVE_STD__IS_TRIVIALLY_COPYABLE 1 +#cmakedefine FOLLY_HAVE_UNALIGNED_ACCESS 1 +#cmakedefine FOLLY_HAVE_VLA 1 +#cmakedefine FOLLY_HAVE_WEAK_SYMBOLS 1 + +#define FOLLY_VERSION "${PACKAGE_VERSION}" + +//#define FOLLY_HAVE_LIBLZ4 1 +//#define FOLLY_HAVE_LIBLZMA 1 +//#define FOLLY_HAVE_LIBSNAPPY 1 +//#define FOLLY_HAVE_LIBZ 1 +//#define FOLLY_HAVE_LIBZSTD 1