A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add DLL_STATIC flags.
[simgrid.git]
/
include
/
simgrid_config.h.in
diff --git
a/include/simgrid_config.h.in
b/include/simgrid_config.h.in
index
a1baeee
..
0eb76a2
100644
(file)
--- 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