X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/221538a27f21e52c182ae7fcc08c78c1175395b9..4c04b128260c38d0d28a1fc70cd8cf02f06c15c1:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 54edf9dc64..2ad612d375 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -4,20 +4,11 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#ifndef _SVID_SOURCE -# define _SVID_SOURCE /* strdup() */ -#endif -#ifndef _ISOC99_SOURCE -# define _ISOC99_SOURCE /* isfinite() */ -#endif -#ifndef _ISO_C99_SOURCE -# define _ISO_C99_SOURCE /* isfinite() */ -#endif -#include /* isfinite() */ #include "smx_private.h" #include "mc/mc.h" #include "xbt/ex.h" +#include /* isfinite() */ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix); @@ -1278,7 +1269,7 @@ smx_mutex_t simcall_mutex_init(void) { if(!simix_global) { fprintf(stderr,"You must run MSG_init or gras_init before using MSG or GRAS\n"); // I would have loved using xbt_die but I can't since it is not initialized yet... :) - abort(); + xbt_abort(); } smx_simcall_t simcall = SIMIX_simcall_mine();