Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to define _ISO_C99_SOURCE ASAP so that it's defined in time to get isfinite()
[simgrid.git] / src / simix / smx_user.c
index 3c75b3c..b89346e 100644 (file)
@@ -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 <math.h> /* isfinite() */
+
 #include "private.h"
 #include "mc/mc.h"
 
-#define _ISO_C99_SOURCE
-#include <math.h> /* isfinite() */
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix);