Fixes for 16-bit compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-05-14 16:13:12 +00:00
parent f3d5d2b5b9
commit 788722ac5c
19 changed files with 109 additions and 25 deletions

View File

@@ -194,7 +194,11 @@ static const wxDateTime::wxDateTime_t gs_cumulatedDays[2][MONTHS_IN_YEAR] =
// in the fine tradition of ANSI C we use our equivalent of (time_t)-1 to
// indicate an invalid wxDateTime object
#ifdef __WIN16__
static const wxDateTime gs_dtDefault;
#else
static const wxDateTime gs_dtDefault = wxLongLong((long)ULONG_MAX, ULONG_MAX);
#endif
const wxDateTime& wxDefaultDateTime = gs_dtDefault;