X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a60dd263b80238e499c90ffcbebf3b25ed626658..7cbbcc84bfc001f55ede1336658d300e894a1fff:/buildtools/Cmake/gras_config.h.in diff --git a/buildtools/Cmake/gras_config.h.in b/buildtools/Cmake/gras_config.h.in index 1809e5f287..15a1e3579b 100644 --- a/buildtools/Cmake/gras_config.h.in +++ b/buildtools/Cmake/gras_config.h.in @@ -6,7 +6,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 #ifndef __STRICT_ANSI__