[llvm-commits] [llvm] r74791 - /llvm/trunk/include/llvm/Config/config.h.cmake

Jeffrey Yasskin jyasskin at google.com
Sat Jul 4 09:37:15 PDT 2009


Author: jyasskin
Date: Sat Jul  4 11:37:12 2009
New Revision: 74791

URL: http://llvm.org/viewvc/llvm-project?rev=74791&view=rev
Log:
Have cmake define HAVE_STRERROR and friends to 1 when they're defined at all.

Modified:
    llvm/trunk/include/llvm/Config/config.h.cmake

Modified: llvm/trunk/include/llvm/Config/config.h.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Config/config.h.cmake?rev=74791&r1=74790&r2=74791&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Sat Jul  4 11:37:12 2009
@@ -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





More information about the llvm-commits mailing list