From: Martin Quinson Date: Thu, 21 Apr 2011 12:04:33 +0000 (+0200) Subject: try to define _ISO_C99_SOURCE ASAP so that it's defined in time to get isfinite() X-Git-Tag: v3_6_rc3~124 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/033c367624bf9452e84340162d1438a53b2ccc7b?ds=sidebyside try to define _ISO_C99_SOURCE ASAP so that it's defined in time to get isfinite() --- diff --git a/src/simix/smx_user.c b/src/simix/smx_user.c index 3c75b3c0d5..b89346e2bb 100644 --- a/src/simix/smx_user.c +++ b/src/simix/smx_user.c @@ -1,8 +1,16 @@ +/* smx_user.c - public interface to simix */ + +/* Copyright (c) 2010, 2011. Da SimGrid team. All rights reserved. */ + +/* 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() */ + #include "private.h" #include "mc/mc.h" -#define _ISO_C99_SOURCE -#include /* isfinite() */ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);