]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/random_mgr.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add the bypasss route mechanims
[simgrid.git] / src / surf / random_mgr.c
index ebc698d71d0f1fcab90a90e4ea1c832b9b08165c..48769c429c6e44b60b72a6d4528d1332a668aa1f 100644 (file)
@@ -6,13 +6,16 @@
 
 #include "surf/random_mgr.h"
 #include "xbt/sysdep.h"
+#include "simgrid_config.h" /*_XBT_WIN32*/
 
 #ifdef _XBT_WIN32
 
 static unsigned int _seed = 2147483647;
 
+#ifdef __VISUALC__
 typedef unsigned __int64 uint64_t;
 typedef unsigned int uint32_t;
+#endif
 
 struct drand48_data {
   unsigned short int __x[3];    /* Current state.  */