Updates for OpenVMS
Modified Files:
wxWidgets/setup.h_vms wxWidgets/include/wx/db.h
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31321
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// ODBC Error Inf.
SWORD cbErrorMsg;
int DB_STATUS;
+#ifdef __VMS
+ // The DECC compiler chokes when in db.cpp the array is accessed outside
+ // its bounds. Maybe this change should also applied for other platforms.
+ wxChar errorList[DB_MAX_ERROR_HISTORY][DB_MAX_ERROR_MSG_LEN+1];
+#else
wxChar errorList[DB_MAX_ERROR_HISTORY][DB_MAX_ERROR_MSG_LEN];
+#endif
wxChar errorMsg[SQL_MAX_MESSAGE_LENGTH];
SDWORD nativeError;
wxChar sqlState[20];
/* The type of 3rd argument to getsockname() - usually size_t or int */
#define SOCKLEN_T size_t
+/* The type of 5th argument to getsockopt() - usually size_t or int */
+#define SOCKOPTLEN_T size_t
+
/* The type of statvfs(2) argument */
#undef WX_STATFS_T