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
windows doesn't provide/need this call
[simgrid.git]
/
src
/
xbt
/
xbt_main.c
diff --git
a/src/xbt/xbt_main.c
b/src/xbt/xbt_main.c
index
b11a855
..
e60540b
100644
(file)
--- a/
src/xbt/xbt_main.c
+++ b/
src/xbt/xbt_main.c
@@
-91,7
+91,9
@@
static void xbt_preinit(void) {
xbt_dict_preinit();
srand(seed);
+#ifndef _WIN32
srand48(seed);
+#endif
atexit(xbt_postexit);
}