Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
isfinite() is C99
authorChristophe Thiéry <christopho128@gmail.com>
Tue, 19 Apr 2011 15:06:27 +0000 (17:06 +0200)
committerChristophe Thiéry <christopho128@gmail.com>
Tue, 19 Apr 2011 15:06:27 +0000 (17:06 +0200)
src/simix/smx_user.c

index c1e5117..3c75b3c 100644 (file)
@@ -1,5 +1,7 @@
 #include "private.h"
 #include "mc/mc.h"
 #include "private.h"
 #include "mc/mc.h"
+
+#define _ISO_C99_SOURCE
 #include <math.h> /* isfinite() */
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);
 #include <math.h> /* isfinite() */
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);