diff --git a/include/wx/defs.h b/include/wx/defs.h index b1d11474a0..98bb7244bf 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -26,10 +26,10 @@ */ #ifdef __cplusplus /* - Test for WIN32, defined by windows.h itself, not our own __WINDOWS__, - which is not defined yet. + Test for _WINDOWS_, used as header guard by windows.h itself, not our + own __WINDOWS__, which is not defined yet. */ -# ifdef WIN32 +# ifdef _WINDOWS_ # include "wx/msw/winundef.h" # endif /* WIN32 */ #endif /* __cplusplus */