X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b793c5c33fafaeb08bd5520a5d166eb8c1a4360e..83339f7ee7c47e16583c280915b853a98c59b923:/src/portable.h diff --git a/src/portable.h b/src/portable.h index 486687118a..c3ece3fe7f 100644 --- a/src/portable.h +++ b/src/portable.h @@ -11,19 +11,10 @@ #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 _WIN32 # include #endif -#include -#include - -#ifdef HAVE_UNISTD_H -# include -#endif - #ifdef HAVE_SYS_PARAM_H # include #endif @@ -32,49 +23,10 @@ #endif /* File handling */ - -#include - #ifdef _WIN32 - #ifndef EWOULDBLOCK - #define EWOULDBLOCK WSAEWOULDBLOCK - #endif - - #ifndef EINPROGRESS - #define EINPROGRESS WSAEINPROGRESS - #endif - - #ifndef ETIMEDOUT - #define ETIMEDOUT WSAETIMEDOUT - #endif - #ifdef S_IRGRP #undef S_IRGRP #endif #define S_IRGRP 0 - - #ifdef S_IWGRP - #undef S_IWGRP - #endif - #define S_IWGRP 0 -#endif - -#ifndef O_BINARY -# define O_BINARY 0 -#endif - -/* Time handling */ -#include -#include - -/* Signals */ -#ifdef HAVE_SIGNAL_H -# include #endif - -/* What we need to extract the backtrace in exception handling code */ -#ifdef HAVE_EXECINFO_H -# include -#endif - #endif /* SIMGRID_PORTABLE_H */