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
Drand48 does not exist on win32
[simgrid.git]
/
src
/
instr
/
instr_private.h
diff --git
a/src/instr/instr_private.h
b/src/instr/instr_private.h
index
c6960bc
..
4f57282
100644
(file)
--- a/
src/instr/instr_private.h
+++ b/
src/instr/instr_private.h
@@
-11,6
+11,11
@@
#ifdef HAVE_TRACING
#ifdef HAVE_TRACING
+/* Need to define function drand48 for Windows */
+#ifdef _WIN32
+ #define drand48() rand()/(float)(RAND_MAX);
+#endif
+
#define INSTR_DEFAULT_STR_SIZE 500
#include "instr/instr.h"
#define INSTR_DEFAULT_STR_SIZE 500
#include "instr/instr.h"
@@
-159,6
+164,7
@@
int TRACE_msg_task_is_enabled(void);
int TRACE_msg_process_is_enabled(void);
int TRACE_buffer (void);
int TRACE_onelink_only (void);
int TRACE_msg_process_is_enabled(void);
int TRACE_buffer (void);
int TRACE_onelink_only (void);
+int TRACE_disable_destroy (void);
char *TRACE_get_filename(void);
char *TRACE_get_triva_uncat_conf (void);
char *TRACE_get_triva_cat_conf (void);
char *TRACE_get_filename(void);
char *TRACE_get_triva_uncat_conf (void);
char *TRACE_get_triva_cat_conf (void);