X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7f4f03348bd07609e258eb3b545bdafc2c881847..ce6136d5f1a9ce68cfa6c968c257bd6c00c531d7:/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);