Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Set some variables and flags for windows.
[simgrid.git] / buildtools / Cmake / gras_config.h.in
index c0755ed..5dcb5b1 100644 (file)
@@ -1,6 +1,17 @@
 // <root>/buildtools/Cmake/gras_config.h.in is user-written.
 // With Cmake it creates <root>/src/gras_config.h
 
+/* Set somes variables for Windows compilation */
+#ifndef __STRICT_ANSI__
+       #cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
+#endif
+#ifndef _MSC_VER
+       #cmakedefine _MSC_VER @_MSC_VER@
+#endif
+#ifndef _WIN32
+       #cmakedefine _WIN32 @_WIN32@
+#endif
+
 /* Set to true if enable_model-checking is true */
 #cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
 #cmakedefine HAVE_MC @HAVE_MC@