From 7f160bd7714a4e7946a0df2b68299f08cac39ff2 Mon Sep 17 00:00:00 2001 From: cherierm Date: Fri, 6 Oct 2006 12:46:33 +0000 Subject: [PATCH] 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 --- src/win32/platform/select_platform_features.h | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.20.1