]> git.saurik.com Git - wxWidgets.git/commitdiff
Watcom fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Jan 2006 20:10:17 +0000 (20:10 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Mon, 16 Jan 2006 20:10:17 +0000 (20:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp
src/common/utilscmn.cpp

index ed9b69b1cd6703381dd20499ccb3b198c7983d14..dabc946ebf50984b0361dd9cf2c7b6f0147a15ed 100644 (file)
@@ -40,7 +40,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#if !defined(__WATCOMC__)
+#if !wxONLY_WATCOM_EARLIER_THAN(1,4)
     #if !(defined(_MSC_VER) && (_MSC_VER > 800))
         #include <errno.h>
     #endif
index c0d7e529c8f6a2c36421e8c99e1841b373cb9585..e259d39066c22aa29441782a1c1c4b705319b561 100644 (file)
@@ -62,7 +62,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#if !defined(__WATCOMC__)
+#if !wxONLY_WATCOM_EARLIER_THAN(1,4)
     #if !(defined(_MSC_VER) && (_MSC_VER > 800))
         #include <errno.h>
     #endif