From ca6d224d717f7b6f72325cf4eff015dcd2c7755e Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Sat, 4 Jul 2009 16:37:12 +0000 Subject: [PATCH] Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all. llvm-svn: 74791 --- llvm/include/llvm/Config/config.h.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/Config/config.h.cmake b/llvm/include/llvm/Config/config.h.cmake index 180e8c523859..cfe98528d4a6 100644 --- a/llvm/include/llvm/Config/config.h.cmake +++ b/llvm/include/llvm/Config/config.h.cmake @@ -364,13 +364,13 @@ #undef HAVE_STRDUP /* Define to 1 if you have the `strerror' function. */ -#cmakedefine HAVE_STRERROR +#cmakedefine HAVE_STRERROR ${HAVE_STRERROR} /* Define to 1 if you have the `strerror_r' function. */ -#cmakedefine HAVE_STRERROR_R +#cmakedefine HAVE_STRERROR_R ${HAVE_STRERROR_R} /* Define to 1 if you have the `strerror_s' function. */ -#cmakedefine HAVE_STRERROR_S +#cmakedefine HAVE_STRERROR_S ${HAVE_STRERROR_S} /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H