From: Stefan Neis Date: Sat, 28 Feb 2004 17:43:23 +0000 (+0000) Subject: Compilation fix for OS/2 specific "Innotek gcc" port. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/463b12b830010f3c8d4a518a6f68d4c549b10b28 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 --- 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);