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}