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
freebsd compatibility
[simgrid.git]
/
examples
/
smpi
/
bcbench.c
diff --git
a/examples/smpi/bcbench.c
b/examples/smpi/bcbench.c
index
75defac
..
5cd2f64
100644
(file)
--- a/
examples/smpi/bcbench.c
+++ b/
examples/smpi/bcbench.c
@@
-8,6
+8,11
@@
#include <stdlib.h>
#include <mpi.h>
+#ifdef _WIN32
+ #define srandom srand
+ #define random rand
+#endif
+
#define GETTIMEOFDAY_ERROR 1
#define N_START 1