From: Stefan Neis Date: Sun, 9 May 2004 17:54:00 +0000 (+0000) Subject: Remove duplicated typedef depending on header file version. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23bf4018750c8e382a601a45740dec53f04fb36c Remove duplicated typedef depending on header file version. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/private.h b/include/wx/os2/private.h index 56dbccab5f..5a353031c5 100644 --- a/include/wx/os2/private.h +++ b/include/wx/os2/private.h @@ -20,8 +20,9 @@ #define INCL_WINSYS #define INCL_SHLERRORS #include -#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) -/* struct missing in "os2emx.h" */ +#if defined (__EMX__) && !defined(USE_OS2_TOOLKIT_HEADERS) && !defined(FCF_CLOSEBUTTON) +/* struct missing in "os2emx.h" - luckily FCF_CLOSEBUTTON was added in the + same version of os2emx.h as SPBCDATA type, so we can do the test above. */ typedef struct _SPBCDATA { ULONG cbSize; /* Size of control block. */ ULONG ulTextLimit; /* Entryfield text limit. */