X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3203ed1f4fb6f4617e94d5351661ba07e8b8f833..565c0d68c7bab7cf6802de0191817cdc9700786e:/src/xbt/xbt_main.c diff --git a/src/xbt/xbt_main.c b/src/xbt/xbt_main.c index 9c718dfdb8..7c6795f3b7 100644 --- a/src/xbt/xbt_main.c +++ b/src/xbt/xbt_main.c @@ -90,7 +90,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, static void xbt_preinit(void) { unsigned int seed = 2147483647; -#ifndef WIN32 +#ifndef _XBT_WIN32 xbt_pagesize = sysconf(_SC_PAGESIZE); #else SYSTEM_INFO si; @@ -115,7 +115,7 @@ static void xbt_preinit(void) { xbt_dict_preinit(); srand(seed); -#ifndef _WIN32 +#ifndef _XBT_WIN32 srand48(seed); #endif atexit(xbt_postexit);