X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf6fa9b9ad72ef4f816a11aaee4dd456928af1f8..46d492a879f7fec474c0847dd0637593453746eb:/include/wx/platform.h?ds=sidebyside diff --git a/include/wx/platform.h b/include/wx/platform.h index 2d9c7d6a3c..6085934aa8 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -152,7 +152,10 @@ # endif #endif /* wxUSE_UNICODE */ - +#if defined( __MWERKS__ ) && !defined(__INTEL__) +// otherwise MSL headers bring in WIN32 dependant APIs +#undef UNICODE +#endif /* some compilers don't support iostream.h any longer, while some of theme are not updated with yet, so override the users setting here @@ -308,7 +311,7 @@ /* to be changed for Win64! */ # ifndef __WIN32__ -# define __WIN16__ +# error "__WIN32__ should be defined for Win32 and Win64, Win16 is not supported" # endif /*