From f9ef3b6e9eb0218477de2d1e8d0820263524670b Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 20 Sep 2011 03:53:57 +0000 Subject: [PATCH] include/llvm/Config/config.h.cmake: Unbreak CMake build to tweak LLVM_HAS_ATOMICS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140135 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Config/config.h.cmake | 2 +- include/llvm/Config/llvm-config.h.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 15321cab930..489d7ed6aeb 100644 --- a/include/llvm/Config/config.h.cmake +++ b/include/llvm/Config/config.h.cmake @@ -567,7 +567,7 @@ #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}" /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS ${LLVM_HAS_ATOMICS} +#cmakedefine01 LLVM_HAS_ATOMICS /* LLVM architecture name for the native architecture, if available */ #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH} diff --git a/include/llvm/Config/llvm-config.h.cmake b/include/llvm/Config/llvm-config.h.cmake index 59ea122a908..1f748ed4f8d 100644 --- a/include/llvm/Config/llvm-config.h.cmake +++ b/include/llvm/Config/llvm-config.h.cmake @@ -47,7 +47,7 @@ #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}" /* Has gcc/MSVC atomic intrinsics */ -#define LLVM_HAS_ATOMICS ${LLVM_HAS_ATOMICS} +#cmakedefine01 LLVM_HAS_ATOMICS /* LLVM architecture name for the native architecture, if available */ #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}