X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/033c367624bf9452e84340162d1438a53b2ccc7b..c4978cdc959fa1fd3fb1a7223d05160f6f01b7ba:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index b89346e2bb..464fc34895 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -4,9 +4,16 @@ /* 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. */ - -#define _ISO_C99_SOURCE /* isfinite() */ -#include /* isfinite() */ +#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 "private.h" #include "mc/mc.h" @@ -800,8 +807,7 @@ void SIMIX_req_comm_destroy(smx_action_t comm) { xbt_assert(comm, "Invalid parameter"); - /* FIXME remove this request type: comms are auto-destroyed now, - * but what happens with unfinished comms? */ + /* FIXME remove this request type: comms are auto-destroyed now */ /* smx_req_t req = SIMIX_req_mine();