]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/textbuf.cpp
Minor source cleaning.
[wxWidgets.git] / src / common / textbuf.cpp
index f7ca5e081882883ade4d32f6835bcd209dd3eb20..2564a4cdbf2345d32378fef7be7ec404103dc081 100644 (file)
@@ -248,9 +248,7 @@ wxTextFileType wxTextBuffer::GuessType() const
                                                     ? wxTextFileType_##t1   \
                                                     : wxTextFileType_##t2
 
-        // Watcom C++ doesn't seem to be able to handle the macro
-        // VS: Watcom 11 doesn't have a problem...
-#if !(defined(__WATCOMC__) && (__WATCOMC__ < 1100))
+#if !defined(__WATCOMC__) || wxCHECK_WATCOM_VERSION(1,4)
         if ( nDos > nUnix )
             return GREATER_OF(Dos, Mac);
         else if ( nDos < nUnix )