summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-11 12:51:36 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-11 12:51:36 +0000
commit11b8a00a267be70a6f30a630f8cb3323d3b7c4c8 (patch)
tree3b4ea127e36b40f8d6080349a3e151170a8f8348 /cmake
parent884b918c2d7ed8dbd804bda72f25729f84a16ab0 (diff)
downloadllvm-11b8a00a267be70a6f30a630f8cb3323d3b7c4c8.tar.gz
llvm-11b8a00a267be70a6f30a630f8cb3323d3b7c4c8.tar.bz2
llvm-11b8a00a267be70a6f30a630f8cb3323d3b7c4c8.tar.xz
cmake/modules/HandleLLVMOptions.cmake: Reorder __STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake
index 2731455a9c..908bf6cce9 100644
--- a/cmake/modules/HandleLLVMOptions.cmake
+++ b/cmake/modules/HandleLLVMOptions.cmake
@@ -186,7 +186,7 @@ elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
endif (LLVM_ENABLE_WERROR)
endif( MSVC )
-add_llvm_definitions( -D__STDC_LIMIT_MACROS )
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
+add_llvm_definitions( -D__STDC_LIMIT_MACROS )
option(LLVM_INCLUDE_TESTS "Generate build targets for the LLVM unit tests." ON)