diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index ed9b69b1cd..dabc946ebf 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -40,7 +40,7 @@ #include #include #include -#if !defined(__WATCOMC__) +#if !wxONLY_WATCOM_EARLIER_THAN(1,4) #if !(defined(_MSC_VER) && (_MSC_VER > 800)) #include #endif diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index c0d7e529c8..e259d39066 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -62,7 +62,7 @@ #include #include -#if !defined(__WATCOMC__) +#if !wxONLY_WATCOM_EARLIER_THAN(1,4) #if !(defined(_MSC_VER) && (_MSC_VER > 800)) #include #endif