Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
load system headers after simgrid ones
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 14 Sep 2015 08:01:35 +0000 (10:01 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 14 Sep 2015 08:01:38 +0000 (10:01 +0200)
This is an attempt to get xbt/base.h loaded before stdio.h, so that
_CRT_SECURE_NO_WARNINGS gets defined before the declaration of fopen

include/xbt/misc.h

index afbe273..87dbc48 100644 (file)
@@ -9,12 +9,12 @@
 #ifndef XBT_MISC_H
 #define XBT_MISC_H
 
 #ifndef XBT_MISC_H
 #define XBT_MISC_H
 
-#include <stdarg.h>
-
 #include "simgrid_config.h"
 #include "base.h"
 #include "dynar.h"
 
 #include "simgrid_config.h"
 #include "base.h"
 #include "dynar.h"
 
+#include <stdarg.h>
+
 SG_BEGIN_DECL()
 
 /** Cache the size of a memory page for the current system. */
 SG_BEGIN_DECL()
 
 /** Cache the size of a memory page for the current system. */