summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-07-04 16:37:12 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-07-04 16:37:12 +0000
commit0cddc49b91db628353dbd7f97b8092b44d39d348 (patch)
tree410ab6b42ffa7eb4434f865ac6214ed640eb67c6 /include
parenteebf60cae51371393c6136d71c7c715350079fb8 (diff)
downloadllvm-0cddc49b91db628353dbd7f97b8092b44d39d348.tar.gz
llvm-0cddc49b91db628353dbd7f97b8092b44d39d348.tar.bz2
llvm-0cddc49b91db628353dbd7f97b8092b44d39d348.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Config/config.h.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index 180e8c5238..cfe98528d4 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 <strings.h> header file. */
#undef HAVE_STRINGS_H