* under the terms of the license (GNU LGPL) which comes with this package. */
#include "xbt/misc.h" /* XBT_PUBLIC */
-#ifndef DLL_EXPORT
+
+#ifdef _XBT_DLL_EXPORT
+ #define DLL_EXPORT
+#else
#define DLL_IMPORT
#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__@
+
#ifndef SIMGRID_PUBLIC_CONFIG_H
#define SIMGRID_PUBLIC_CONFIG_H