X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a47ce4a7648a003e2fd42fd636c55f73e120d3a3..faab619a858952eb2a46a22234ee42a73bb10bfd:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 7c87b024a1..7160e8d6ea 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -41,7 +41,15 @@ typedef long off_t; #endif +#if defined(__VISAGECPP__) && __IBMCPP__ >= 400 +// +// VisualAge C++ V4.0 cannot have any const decs +// in headers included by more than one primary source +// +extern const off_t wxInvalidOffset; +#else const off_t wxInvalidOffset = (off_t)-1; +#endif enum wxSeekMode {