X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b4e81ee65f1448c8c467a3107eadb80c15bf3bc..3586d10f7287c92fc988229c384346f0a04c42ac:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 8bdae42935..bbb005406b 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -23,14 +23,6 @@ # include #endif -/* - This header must be included before anything else under VMS - */ -#ifdef __VMS -# include -# undef ConnectionNumber -#endif - /* WXMAC variants __WXMAC_CLASSIC__ means ppc non-carbon builds, __WXMAC_CARBON__ means @@ -265,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. */ @@ -591,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.