Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
windows doesn't provide/need this call
authorAugustin Degomme <degomme@idpann.imag.fr>
Tue, 24 Sep 2013 15:18:59 +0000 (17:18 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Tue, 24 Sep 2013 15:18:59 +0000 (17:18 +0200)
src/xbt/xbt_main.c

index b11a855..e60540b 100644 (file)
@@ -91,7 +91,9 @@ static void xbt_preinit(void) {
   xbt_dict_preinit();
    
   srand(seed);
+#ifndef _WIN32
   srand48(seed);
+#endif
 
   atexit(xbt_postexit);
 }