summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a4f3d90)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7817
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
message(" -- CMAKE_BUILD_TOOL ${CMAKE_BUILD_TOOL}")
message(" -- LINKER ${CMAKE_LINKER}")
message(" -- CMAKE_GENERATOR ${CMAKE_GENERATOR}\n\n")
message(" -- CMAKE_BUILD_TOOL ${CMAKE_BUILD_TOOL}")
message(" -- LINKER ${CMAKE_LINKER}")
message(" -- CMAKE_GENERATOR ${CMAKE_GENERATOR}\n\n")
+ set(__STRICT_ANSI__ 1)
+ set(_MSC_VER 1)
endif(WIN32)
### Find programs and paths
endif(WIN32)
### Find programs and paths
// <root>/buildtools/Cmake/gras_config.h.in is user-written.
// With Cmake it creates <root>/src/gras_config.h
// <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 */
+#cmakedefine __STRICT_ANSI__ @__STRICT_ANSI__@
+#cmakedefine _MSC_VER @_MSC_VER@
+
/* Set to true if enable_model-checking is true */
#cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
#cmakedefine HAVE_MC @HAVE_MC@
/* Set to true if enable_model-checking is true */
#cmakedefine MMALLOC_WANT_OVERIDE_LEGACY @MMALLOC_WANT_OVERIDE_LEGACY@
#cmakedefine HAVE_MC @HAVE_MC@
#define _XBT_LOG_H_
#include "xbt/misc.h"
#define _XBT_LOG_H_
#include "xbt/misc.h"
+#include "gras_config.h"
#include <stdarg.h>
SG_BEGIN_DECL()
#include <stdarg.h>
SG_BEGIN_DECL()