X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a92d7b716f51a53dea7f59db8524d4add713b910..3ba5d4a966c2ac976b2b1656c52145f70189d108:/src/simix/smx_context.cpp diff --git a/src/simix/smx_context.cpp b/src/simix/smx_context.cpp index b9911d1635..5906e9d9d1 100644 --- a/src/simix/smx_context.cpp +++ b/src/simix/smx_context.cpp @@ -33,10 +33,10 @@ #include #endif -#ifdef __MINGW32__ -#define _aligned_malloc __mingw_aligned_malloc -#define _aligned_free __mingw_aligned_free -#endif //MINGW +#ifdef __MINGW32__ +#define _aligned_malloc __mingw_aligned_malloc +#define _aligned_free __mingw_aligned_free +#endif /*MINGW*/ #if HAVE_VALGRIND_H # include @@ -271,7 +271,7 @@ int SIMIX_context_get_nthreads() { * \param nb_threads the number of threads to use */ void SIMIX_context_set_nthreads(int nb_threads) { - if (nb_threads<=0) { + if (nb_threads<=0) { nb_threads = xbt_os_get_numcores(); XBT_INFO("Auto-setting contexts/nthreads to %d",nb_threads); }