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