X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..90186e524e347a3a779c928a44fb7d744b3efcf7:/include/wx/filefn.h?ds=sidebyside diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 3ce7a54ac2..ae1bf31032 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -37,6 +37,10 @@ typedef long off_t; typedef long off_t; #endif +#if defined(__SC__) +typedef long off_t; +#endif + const off_t wxInvalidOffset = (off_t)-1; typedef enum { @@ -99,8 +103,9 @@ WXDLLEXPORT char* wxExpandPath(char *dest, const char *path); // Contract w.r.t environment ( -> ${OPENWINHOME}/lib) // and make (if under the home tree) relative to home // [caller must copy-- volatile] -WXDLLEXPORT char* wxContractPath (const wxString& filename, - const wxString& envname = wxEmptyString, const wxString& user = wxEmptyString); +WXDLLEXPORT char* wxContractPath(const wxString& filename, + const wxString& envname = "", + const wxString& user = ""); // Destructive removal of /./ and /../ stuff WXDLLEXPORT char* wxRealPath(char *path);