Partial Watcom C++ 10.6 support added (doesn't link for some reason)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-12-18 23:18:59 +00:00
parent 28ab302b70
commit 7be1f0d91a
13 changed files with 2361 additions and 215 deletions

View File

@@ -136,6 +136,10 @@ wxTextFile::Type wxTextFile::GuessType() const
: n##t1 > n##t2 ? Type_##t1 \
: Type_##t2
// Watcom C++ doesn't seem to be able to handle the macro
#if defined(__WATCOMC__)
return typeDefault;
#else
if ( nDos > nUnix )
return GREATER_OF(Dos, Mac);
else if ( nDos < nUnix )
@@ -144,6 +148,7 @@ wxTextFile::Type wxTextFile::GuessType() const
// nDos == nUnix
return nMac > nDos ? Type_Mac : typeDefault;
}
#endif
#undef GREATER_OF
}