From: Vadim Zeitlin Date: Sun, 21 Dec 2008 02:48:45 +0000 (+0000) Subject: fix for compilation with newer DMC headers (see #10112) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c7ae45ab599842a9ca4fa18275a5134707e301b?ds=inline fix for compilation with newer DMC headers (see #10112) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 56339ee402..1bfea59843 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -303,6 +303,7 @@ typedef struct wxtagNMLVCUSTOMDRAW_ { #ifdef __DMC__ +#ifndef VER_NT_WORKSTATION typedef struct _OSVERSIONINFOEX { DWORD dwOSVersionInfoSize; DWORD dwMajorVersion; @@ -316,6 +317,7 @@ typedef struct _OSVERSIONINFOEX { BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEX; +#endif // !defined(VER_NT_WORKSTATION) #ifndef _TrackMouseEvent #define _TrackMouseEvent TrackMouseEvent