From: Jeffrey Yasskin Date: Sat, 4 Jul 2009 16:37:12 +0000 (+0000) Subject: Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0cddc49b91db628353dbd7f97b8092b44d39d348;p=oota-llvm.git Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74791 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 180e8c52385..cfe98528d4a 100644 --- a/include/llvm/Config/config.h.cmake +++ b/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