mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Add mode_t to the config.h generated by cmake on win32. Used by clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64555 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aff9c270de
commit
07b9d69ad1
@ -69,6 +69,7 @@ endif( MINGW )
|
|||||||
|
|
||||||
if( MSVC )
|
if( MSVC )
|
||||||
set(error_t int)
|
set(error_t int)
|
||||||
|
set(mode_t "unsigned short")
|
||||||
set(LTDL_SHLIBPATH_VAR "PATH")
|
set(LTDL_SHLIBPATH_VAR "PATH")
|
||||||
set(LTDL_SYSSEARCHPATH "")
|
set(LTDL_SYSSEARCHPATH "")
|
||||||
set(LTDL_DLOPEN_DEPLIBS 1)
|
set(LTDL_DLOPEN_DEPLIBS 1)
|
||||||
|
@ -551,6 +551,9 @@
|
|||||||
/* Define to a type to use for `error_t' if it is not otherwise available. */
|
/* Define to a type to use for `error_t' if it is not otherwise available. */
|
||||||
#cmakedefine error_t ${error_t}
|
#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. */
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
#undef pid_t
|
#undef pid_t
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user