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
Reintroduce the changes to the windows build chain to allow gcc cross compilation...
[simgrid.git]
/
src
/
win32
/
config.h
diff --git
a/src/win32/config.h
b/src/win32/config.h
index
d5b937b
..
4ba03b5
100644
(file)
--- a/
src/win32/config.h
+++ b/
src/win32/config.h
@@
-17,6
+17,9
@@
#if defined(_XBT_BORLAND_COMPILER)
# include <win32/compiler/borland.h>
#if defined(_XBT_BORLAND_COMPILER)
# include <win32/compiler/borland.h>
+#elif defined(__GNUC__)
+ /* data comes from autoconf when using gnuc (cross-compiling?) */
+# include "gras_config.h"
#elif defined(_XBT_VISUALC_COMPILER)
# include <win32/compiler/visualc.h>
# else
#elif defined(_XBT_VISUALC_COMPILER)
# include <win32/compiler/visualc.h>
# else
@@
-74,6
+77,6
@@
const char *gras_wsa_err2string(int errcode);
#define S_IWGRP 0
#define S_IWGRP 0
-
+
#endif /* #ifndef __XBT_WIN32_CONFIG_H__ */
#endif /* #ifndef __XBT_WIN32_CONFIG_H__ */