X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b2883a5eb26f2c5b03658daa044b5ea7a28d3ce..59396417d3285f933762d252d33ed095e6ffe299:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 9be5072ab9..ba57e38001 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -326,7 +326,12 @@ enum wxFileKind #ifdef wxHAS_HUGE_FILES #define wxCRT_Stat wxPOSIX_IDENT(stati64) #else - #define wxCRT_Stat wxPOSIX_IDENT(stat) + // Unfortunately Watcom is not consistent, so:- + #if defined(__OS2__) && defined(__WATCOMC__) + #define wxCRT_Stat _stat + #else + #define wxCRT_Stat wxPOSIX_IDENT(stat) + #endif #endif #endif // wxUSE_UNICODE/!wxUSE_UNICODE