X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a47ce4a7648a003e2fd42fd636c55f73e120d3a3..d62e92203d557f656bb0127d46744cc2204bff32:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 7c87b024a1..f983b7e93a 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 external linkage 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 { @@ -87,7 +95,7 @@ WXDLLEXPORT void wxUnix2DosFilename(wxChar *s); #ifdef __WXMAC__ WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ; - WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ; + WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ; WXDLLEXPORT void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) ; WXDLLEXPORT void wxMacFilename2FSSpec( const char *path , FSSpec *spec ) ; WXDLLEXPORT wxString wxMac2UnixFilename( const char *s) ;