X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6f2a8911e509fd9e61f881cc881a97f5aa05ae8..3586d10f7287c92fc988229c384346f0a04c42ac:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 2c1a40d943..bbb005406b 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -20,7 +20,7 @@ are included */ #ifdef __MWERKS__ -# include +# include #endif /* @@ -257,6 +257,14 @@ #endif +/* test for old versions of Borland C, need at least 5.82, Turbo explorer, + available for free at http://www.turboexplorer.com/downloads +*/ +#if defined(__BORLANDC__) && (__BORLANDC__ < 0x582) +#error "This version of wxWidgets requires at least Borland 5.82 (Turbo Explorer); You may at your own risk remove this line and try your system" +#endif //__BORLANDC__ + + /* This macro can be used to test the Open Watcom version. */ @@ -583,6 +591,15 @@ # define wxSTD #endif +/* On OpenVMS with the most recent HP C++ compiler some function (i.e. wscanf) + * are only available in the std-namespace. (BUG???) + */ +#if defined( __VMS ) && (__DECCXX_VER >= 70100000) && !defined(__STD_CFRONT) && !defined( __NONAMESPACE_STD ) +# define wxVMS_USE_STD std:: +#else +# define wxVMS_USE_STD +#endif + /* Choose which method we will use for updating menus * - in OnIdle, or when we receive a wxEVT_MENU_OPEN event. * Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.