From 23bf4018750c8e382a601a45740dec53f04fb36c Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 9 May 2004 17:54:00 +0000 Subject: [PATCH] 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 --- include/wx/os2/private.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. */ -- 2.50.0