remove CMake mode_t define
authorDylan Noblesmith <nobled@dreamwidth.org>
Thu, 23 Jun 2011 12:21:33 +0000 (12:21 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Thu, 23 Jun 2011 12:21:33 +0000 (12:21 +0000)
It's now replaced with a simple ifdef _MSC_VER in the one
place it's needed (clang's FileManager.h header).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133711 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/config-ix.cmake
include/llvm/Config/config.h.cmake

index c1b22d4eef589594a0d516a264c6dcb96132d92d..1a2cba528f8d25d7af26c80a81eb40e990c6b6d9 100755 (executable)
@@ -349,7 +349,6 @@ 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)
index 755daa6dc37a336c34a904fa7940e7a2336c008f..d07e0b2e6109a1c6897b8ff21d34ef1987bb5e32 100644 (file)
    `char[]'. */
 #undef YYTEXT_POINTER
 
-/* Define to a type to use for `mode_t' if it is not otherwise available. */
-#cmakedefine mode_t ${mode_t}
-
 /* Define to a function replacing strtoll */
 #cmakedefine strtoll ${strtoll}