X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dc998ae9ad7bfda536bdaae9871c090ca00dadb8..ca494e4204fbd3d22631eb82cb0668385ba89bda:/src/portable.h diff --git a/src/portable.h b/src/portable.h index 235105bc58..86bba4e68b 100644 --- a/src/portable.h +++ b/src/portable.h @@ -14,7 +14,7 @@ /* * win32 or win64 (__WIN32 is defined for win32 and win64 applications, __TOS_WIN__ is defined by xlC). */ -#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__TOS_WIN__) +#ifdef _WIN32 # include "win32/config.h" # include #else @@ -97,9 +97,7 @@ ****/ #ifdef USE_UCONTEXT -# ifndef S_SPLINT_S /* This header drives splint into the wall */ -# include -# endif +# include #endif #ifdef _WIN32 @@ -186,6 +184,8 @@ const char *hexa_str(unsigned char *data, int size, int downside); #endif /* #if defined (_XBT_USE_DECLSPEC) */ +#define XBT_PUBLIC _XBT_DECLSPEC + #if !defined (_XBT_CALL) #define _XBT_CALL #endif