From: cherierm Date: Fri, 6 Oct 2006 12:46:33 +0000 (+0000) Subject: if needed replace (_XBT_WIN32_PLATFORM) || defined(_XBT_WIN64_PLATFORM) || defined... X-Git-Tag: v3.3~2492 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7f160bd7714a4e7946a0df2b68299f08cac39ff2 if needed replace (_XBT_WIN32_PLATFORM) || defined(_XBT_WIN64_PLATFORM) || defined(_XBT_WIN16_PLATFORM) || defined(_XBT_WINCE_PLATFORM) macros by the single macro_WIN32 . git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2867 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- 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)