X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6e5457a22be7df9fa12847d3f18c43c4619bc3e2..08ce0edd12b2c42378cc228a91d37613bbc2acbc:/src/simix/smx_user.c diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index fb7560746e..464fc34895 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -4,10 +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 _SVID_SOURCE /* strdup */ -#define _ISO_C99_SOURCE /* isfinite() */ -#define _ISOC99_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" @@ -801,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();