-#define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
-
-/* Version X.Y.Z will get version number XYZ: all digits concatenated without dots
- * (with Y and Z must be on two positions)*/
-
-#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__@
-#cmakedefine __BORLANDC__ @__BORLANDC__@
-#ifdef _XBT_WIN32
- #ifndef __GNUC__
- #cmakedefine __GNUC__ @__GNUC__@
- #endif
-#endif
-
+/* Version as a single integer. v3.4 is 30400, v3.16.2 is 31602, v42 will be 420000, and so on. */
+#define SIMGRID_VERSION (100UL * (100UL * (@SIMGRID_VERSION_MAJOR@) + (@SIMGRID_VERSION_MINOR@)) + (@SIMGRID_VERSION_PATCH@))