]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 12 Jan 2005 07:47:40 +0000 (07:47 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 12 Jan 2005 07:47:40 +0000 (07:47 +0000)
 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

include/wx/db.h
setup.h_vms

index 070fdce3303cf698c6c7bada98a82e8d6845dab4..7fba228c9afda8fcf822ca70b520a564f42d9b6c 100644 (file)
@@ -589,7 +589,13 @@ public:
     // 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];
index 6147c8a70b0d541b15266df43f0a4682d33e884d..579a231d7c4be544492e8b9aa24187df54131a3b 100644 (file)
 /* 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