X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8e1d09e0ebb6da4cd143ae254749cae7f53509b..d63819e045d0ed384407931274b6e09bf92b5c12:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index e81f3b36b0..a0fd19d272 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -171,10 +171,13 @@ WXDLLEXPORT void wxUnix2DosFilename(wxChar *s); #ifdef __WXMAC__ WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ; WXDLLEXPORT void wxMacFilename2FSSpec( const char *path , FSSpec *spec ) ; +# ifndef __DARWIN__ +// Mac file names are POSIX (Unix style) under Darwin, so these are not needed WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ; WXDLLEXPORT void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) ; WXDLLEXPORT wxString wxMac2UnixFilename( const char *s) ; WXDLLEXPORT wxString wxUnix2MacFilename( const char *s); +# endif #endif // Strip the extension, in situ @@ -255,6 +258,10 @@ WXDLLEXPORT bool wxRmdir(const wxString& dir, int flags = 0); #define wxFILE_SEP_PATH_DOS wxT('\\') #define wxFILE_SEP_PATH_UNIX wxT('/') #define wxFILE_SEP_PATH_MAC wxT(':') +#define wxFILE_SEP_PATH_VMS wxT('/') //This is the Unix way, but somtimes + //users will give the VMS native paths + //and than a ']' is needed. + // Jouk // separator in the path list (as in PATH environment variable) // there is no PATH variable in Classic Mac OS so just use the