Committing in .

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
This commit is contained in:
Jouk Jansen
2005-01-12 07:47:40 +00:00
parent 3dd9536f2e
commit 13973396cb
2 changed files with 9 additions and 0 deletions

View 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];

View File

@@ -1060,6 +1060,9 @@
/* 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