X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a6012ed0a3d3bb62a3177e326f237dbd915a09e..7f160bd7714a4e7946a0df2b68299f08cac39ff2:/src/win32/platform/select_platform_features.h diff --git a/src/win32/platform/select_platform_features.h b/src/win32/platform/select_platform_features.h index 406fcf3946..6ed34f17f9 100644 --- a/src/win32/platform/select_platform_features.h +++ b/src/win32/platform/select_platform_features.h @@ -67,6 +67,12 @@ #error "Unknown platform - please configure (simgrid.gforge.inria.fr/xbt/libs/config/config.htm#configuring) and report the results to the main simgrid mailing list (simgrid.gforge.inra.fr/more/mailing_lists.htm#main)" #endif +#if defined(_XBT_WIN32_PLATFORM) || defined(_XBT_WIN64_PLATFORM) || defined(_XBT_WIN16_PLATFORM) || defined(_XBT_WINCE_PLATFORM) +#ifndef _WIN32 + #define _WIN32 +#endif +#endif + /* Returns true if the platform is resolved, false in the other case. */ #define _xbt_is_platform_resolved() (_XBT_PLATFORM_ID != 0)