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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user