[llvm-commits] [llvm] r133711 - in /llvm/trunk: cmake/config-ix.cmake include/llvm/Config/config.h.cmake
Dylan Noblesmith
nobled at dreamwidth.org
Thu Jun 23 05:21:34 PDT 2011
Author: nobled
Date: Thu Jun 23 07:21:33 2011
New Revision: 133711
URL: http://llvm.org/viewvc/llvm-project?rev=133711&view=rev
Log:
remove CMake mode_t define
It's now replaced with a simple ifdef _MSC_VER in the one
place it's needed (clang's FileManager.h header).
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=133711&r1=133710&r2=133711&view=diff
==============================================================================
--- llvm/trunk/cmake/config-ix.cmake (original)
+++ llvm/trunk/cmake/config-ix.cmake Thu Jun 23 07:21:33 2011
@@ -349,7 +349,6 @@
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=133711&r1=133710&r2=133711&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Config/config.h.cmake (original)
+++ llvm/trunk/include/llvm/Config/config.h.cmake Thu Jun 23 07:21:33 2011
@@ -686,9 +686,6 @@
`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}
More information about the llvm-commits
mailing list