[Cygming] Seek also chkstk_ms, or JIT fails with DLL builds. It is fixup for r227519.
[oota-llvm.git] / cmake / config-ix.cmake
index 1138cfd0572bad558268c9fb7dc8558b1076d4ce..c845c070ecd0ed1b5e0f46979acd3178064faf79 100755 (executable)
@@ -201,7 +201,9 @@ if( PURE_WINDOWS )
   check_function_exists(_alloca HAVE__ALLOCA)
   check_function_exists(__alloca HAVE___ALLOCA)
   check_function_exists(__chkstk HAVE___CHKSTK)
+  check_function_exists(__chkstk_ms HAVE___CHKSTK_MS)
   check_function_exists(___chkstk HAVE____CHKSTK)
+  check_function_exists(___chkstk_ms HAVE____CHKSTK_MS)
 
   check_function_exists(__ashldi3 HAVE___ASHLDI3)
   check_function_exists(__ashrdi3 HAVE___ASHRDI3)