You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by hb...@apache.org on 2016/08/08 17:19:47 UTC

incubator-quickstep git commit: Added guards for gnu_source definition in CMake.

Repository: incubator-quickstep
Updated Branches:
  refs/heads/hugetlb-check [created] d2256e778


Added guards for gnu_source definition in CMake.


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/d2256e77
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/d2256e77
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/d2256e77

Branch: refs/heads/hugetlb-check
Commit: d2256e778dc1adec8098336aaf675d7d2058bef9
Parents: bd01748
Author: Harshad Deshmukh <hb...@apache.org>
Authored: Mon Aug 8 12:19:00 2016 -0500
Committer: Harshad Deshmukh <hb...@apache.org>
Committed: Mon Aug 8 12:19:00 2016 -0500

----------------------------------------------------------------------
 storage/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/d2256e77/storage/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/storage/CMakeLists.txt b/storage/CMakeLists.txt
index c4b8f70..736f4d9 100644
--- a/storage/CMakeLists.txt
+++ b/storage/CMakeLists.txt
@@ -50,7 +50,9 @@ endif()
 # See if mmap can be used to allocate Linux hugetlb pages.
 include(CheckCXXSourceCompiles)
 CHECK_CXX_SOURCE_COMPILES("
+  # ifndef _GNU_SOURCE
   #define _GNU_SOURCE
+  #endif
   #include <sys/mman.h>
 
   int main() {