-#define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
-
-#define SIMGRID_VERSION_BANNER "@SIMGRID_VERSION_BANNER@"
-
-/* 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)
-
-#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*/
+SG_BEGIN_DECL()
+/** Retrieves the version numbers of the used dynamic library (so, DLL or dynlib), while
+ SIMGRID_VERSION_MAJOR and friends give the version numbers of the used header files */
+XBT_PUBLIC(void) sg_version_get(int *major,int *minor,int *patch);