[llvm-commits] [llvm] r64555 - in /llvm/trunk: cmake/config-ix.cmake include/llvm/Config/config.h.cmake

Cedric Venet cedric.venet at laposte.net
Sat Feb 14 08:13:27 PST 2009


Author: venet
Date: Sat Feb 14 10:13:26 2009
New Revision: 64555

URL: http://llvm.org/viewvc/llvm-project?rev=64555&view=rev
Log:
Add mode_t to the config.h generated by cmake on win32. Used by clang.

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

Modified: llvm/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/config-ix.cmake?rev=64555&r1=64554&r2=64555&view=diff

==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Sat Feb 14 10:13:26 2009
@@ -69,6 +69,7 @@
 
 if( MSVC )
   set(error_t int)
+  set(mode_t "unsigned short")
   set(LTDL_SHLIBPATH_VAR "PATH")
   set(LTDL_SYSSEARCHPATH "")
   set(LTDL_DLOPEN_DEPLIBS 1)

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=64555&r1=64554&r2=64555&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Sat Feb 14 10:13:26 2009
@@ -551,6 +551,9 @@
 /* Define to a type to use for `error_t' if it is not otherwise available. */
 #cmakedefine error_t ${error_t}
 
+/* Define to a type to use for `mode_t' if it is not otherwise available. */
+#cmakedefine mode_t ${mode_t}
+
 /* Define to `int' if <sys/types.h> does not define. */
 #undef pid_t
 





More information about the llvm-commits mailing list