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:24:22 UTC

incubator-quickstep git commit: Added guards for gnu_source definition in CMake. [Forced Update!]

Repository: incubator-quickstep
Updated Branches:
  refs/heads/hugetlb-check d2256e778 -> 5494a315a (forced update)


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/5494a315
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/5494a315
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/5494a315

Branch: refs/heads/hugetlb-check
Commit: 5494a315a494fcc07e502519ac5f88cfeada5517
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:24:04 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/5494a315/storage/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/storage/CMakeLists.txt b/storage/CMakeLists.txt
index c4b8f70..65a7975 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() {