X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40538f98176832207ec50cc7b9413363bb4f4963..8b95c7c1babe96565862cb1b44c392412f9dba9b:/src/portable.h?ds=sidebyside diff --git a/src/portable.h b/src/portable.h index 7e7acfbec7..487a6f10f3 100644 --- a/src/portable.h +++ b/src/portable.h @@ -10,7 +10,9 @@ #ifndef SIMGRID_PORTABLE_H #define SIMGRID_PORTABLE_H -#include "src/internal_config.h" +#include "simgrid_config.h" /* what was compiled in? */ +#include "src/internal_config.h" /* some information about the environment */ + #include "xbt/base.h" #include "xbt/misc.h" #ifdef _XBT_WIN32 @@ -89,15 +91,7 @@ # include #endif -/* prototype of GNU functions */ -#if (defined(__GNUC__) && !defined(__cplusplus)) -XBT_PUBLIC(int) asprintf(char **ptr, const char *fmt, /*args */ ...); -XBT_PUBLIC(int) vasprintf(char **ptr, const char *fmt, va_list ap); -#endif - -/* - * What we need to extract the backtrace in exception handling code - */ +/* What we need to extract the backtrace in exception handling code */ #ifdef HAVE_EXECINFO_H # include #endif