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
This commit is contained in:
Jeffrey Yasskin 2009-07-04 16:37:12 +00:00
parent eebf60cae5
commit 0cddc49b91

View File

@ -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 <strings.h> header file. */
#undef HAVE_STRINGS_H