diff --git a/include/wx/defs.h b/include/wx/defs.h index 61c5ca2d05..b5e62de642 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -95,7 +95,7 @@ // compiler defects workarounds // ---------------------------------------------------------------------------- -#if defined(__VISUALC__) && !defined(WIN32) +#if defined(__VISUALC__) && !defined(__WIN32__) // VC1.5 does not have LPTSTR type #define LPTSTR LPSTR #define LPCTSTR LPCSTR