From: mquinson Date: Mon, 28 Feb 2005 17:09:20 +0000 (+0000) Subject: Don't try to load windows.h because ucontext were not found X-Git-Tag: v3.3~4246 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/79ebca5ac166d3a2219d510a591c8301b9d4ffd4 Don't try to load windows.h because ucontext were not found git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1107 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/portable.h b/src/portable.h index 0c56508aec..420ebd3f66 100644 --- a/src/portable.h +++ b/src/portable.h @@ -125,7 +125,9 @@ const char *gras_wsa_err2string(int errcode); # ifndef S_SPLINT_S /* This header drives splint into the wall */ # include # endif -#else +#endif + +#ifdef _WIN32 # include "xbt/context_win32.h" /* Manual reimplementation for prehistoric platforms */ #endif