Remove configurey-fu to autodetect hash_map and hash_set now that they are
[oota-llvm.git] / cmake / config-ix.cmake
index 5158bfe4c69be047dfd9573b9f5c203444fa7935..9e5bcd8fe2667e0198631da6e64a628086c0bc2c 100755 (executable)
@@ -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)
@@ -85,14 +86,6 @@ else( MSVC )
   set(LTDL_DLOPEN_DEPLIBS 0)  # TODO
 endif( MSVC )
 
-if( NOT MSVC )
-  # hash_map.h.in and hash_set.h.in contain a special case for MSVC
-  include(CheckCxxHashmap)
-  include(CheckCxxHashset)
-  check_hashmap()
-  check_hashset()
-endif( NOT MSVC )
-
 # FIXME: Signal handler return type, currently hardcoded to 'void'
 set(RETSIGTYPE void)
 
@@ -123,12 +116,3 @@ configure_file(
   ${LLVM_BINARY_DIR}/include/llvm/Support/DataTypes.h
   )
 
-configure_file(
-  ${LLVM_MAIN_INCLUDE_DIR}/llvm/ADT/hash_map.cmake
-  ${LLVM_BINARY_DIR}/include/llvm/ADT/hash_map.h
-  )
-
-configure_file(
-  ${LLVM_MAIN_INCLUDE_DIR}/llvm/ADT/hash_set.cmake
-  ${LLVM_BINARY_DIR}/include/llvm/ADT/hash_set.h
-  )