-
-#define MAKE_SIMGRID_VERSION(major, minor, patch) \
- (100UL * (100UL * (major) + (minor)) + (patch))
-#define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, \
- SIMGRID_VERSION_MINOR, \
- SIMGRID_VERSION_PATCH)
-
-/* take care of DLL usage madness */
-
-#ifdef _XBT_DLL_EXPORT
- #ifndef DLL_EXPORT
- #define DLL_EXPORT
- #endif
-#else
- #ifdef _XBT_DLL_STATIC
- #ifndef DLL_STATIC
- #define DLL_STATIC
- #endif
- #else
- #ifndef DLL_EXPORT
- #define DLL_IMPORT
- #endif
- #endif
-#endif
-
-#cmakedefine _XBT_WIN32 @_XBT_WIN32@ /*this variable is set if it is a windows platform*/
-#cmakedefine _WIN32 @_WIN32@ /*this variable is set if it is a 32 bits windows platform*/
-#cmakedefine _WIN64 @_WIN64@ /*this variable is set if it is a 64 bits windows platform*/
-#cmakedefine __VISUALC__ @__VISUALC__@
-#ifdef _XBT_WIN32
- #ifndef __GNUC__
- #cmakedefine __GNUC__ @__GNUC__@
- #endif
-#endif
+#define MAKE_SIMGRID_VERSION(major, minor, patch) (100UL * (100UL * (major) + (minor)) + (patch))
+#define SIMGRID_VERSION MAKE_SIMGRID_VERSION(SIMGRID_VERSION_MAJOR, SIMGRID_VERSION_MINOR, SIMGRID_VERSION_PATCH)