summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorCedric Venet <cedric.venet@laposte.net>2009-02-14 16:13:26 +0000
committerCedric Venet <cedric.venet@laposte.net>2009-02-14 16:13:26 +0000
commit07b9d69ad1d491635dddab2ed59940c6efb72f22 (patch)
tree732183566e868b9bc9cb6ab1dadd2365345882c7 /cmake
parentaff9c270de8de7d1a0bc138d391bc67136bad58e (diff)
downloadllvm-07b9d69ad1d491635dddab2ed59940c6efb72f22.tar.gz
llvm-07b9d69ad1d491635dddab2ed59940c6efb72f22.tar.bz2
llvm-07b9d69ad1d491635dddab2ed59940c6efb72f22.tar.xz
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
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 5158bfe4c6..cbe48d888e 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -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)