From 6d0f522af205fde6034234417cda92503e7cece2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 8 Oct 2013 10:40:39 +0000 Subject: [PATCH] Check for __INTELC__ in a couple more places. See #15359. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/features.h | 3 ++- include/wx/filefn.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/features.h b/include/wx/features.h index 84a6c35c9d..765f0f7f1f 100644 --- a/include/wx/features.h +++ b/include/wx/features.h @@ -116,7 +116,8 @@ */ #if wxCHECK_GCC_VERSION(3, 2) || wxCHECK_VISUALC_VERSION(7) \ || (defined(__SUNCC__) && __SUNCC__ >= 0x5100) \ - || (defined(__xlC__) && __xlC__ >= 0x700) + || (defined(__xlC__) && __xlC__ >= 0x700) \ + || defined(__INTELC__) #define wxHAS_EVENT_BIND #endif diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 48f30f8c0b..fd87478863 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -77,7 +77,7 @@ // constants // ---------------------------------------------------------------------------- -#if defined(__VISUALC__) || defined(__INTELC__) || defined(__DIGITALMARS__) +#if defined(__VISUALC__) || (defined(__WINDOWS__) && defined(__INTELC__)) || defined(__DIGITALMARS__) typedef int mode_t; #endif