1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Add mode_t to the config.h generated by cmake on win32. Used by clang.

llvm-svn: 64555
This commit is contained in:
Cedric Venet 2009-02-14 16:13:26 +00:00
parent 48be6b5e15
commit 243a1d9a39
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,7 @@ endif( MINGW )
if( MSVC )
set(error_t int)
set(mode_t "unsigned short")
set(LTDL_SHLIBPATH_VAR "PATH")
set(LTDL_SYSSEARCHPATH "")
set(LTDL_DLOPEN_DEPLIBS 1)

View File

@ -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