X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a60dd263b80238e499c90ffcbebf3b25ed626658..7cbbcc84bfc001f55ede1336658d300e894a1fff:/include/simgrid_config.h.in diff --git a/include/simgrid_config.h.in b/include/simgrid_config.h.in index a1baeeef6b..0eb76a2cef 100644 --- a/include/simgrid_config.h.in +++ b/include/simgrid_config.h.in @@ -12,7 +12,11 @@ #ifdef _XBT_DLL_EXPORT #define DLL_EXPORT #else - #define DLL_IMPORT + #ifdef _XBT_DLL_STATIC + #define DLL_STATIC + #else + #define DLL_IMPORT + #endif #endif #cmakedefine _XBT_WIN32 @_XBT_WIN32@ //this variable is set if it is a windows platform