From 463b12b830010f3c8d4a518a6f68d4c549b10b28 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 28 Feb 2004 17:43:23 +0000 Subject: [PATCH] Compilation fix for OS/2 specific "Innotek gcc" port. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/defs.h b/include/wx/defs.h index 3649f23a31..af15a048aa 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -2315,7 +2315,7 @@ typedef struct tagLOGPALETTE /* VA 3.0 for some reason needs base data types when typedefing a proc proto??? */ typedef void* (_System *WXFARPROC)(unsigned long, unsigned long, void*, void*); #else -#ifdef __EMX__ +#if defined(__EMX__) && !defined(_System) #define _System #endif typedef WXRESULT (_System *WXFARPROC)(WXHWND, WXMSGID, WXWPARAM, WXLPARAM); -- 2.47.2