X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8e1d09e0ebb6da4cd143ae254749cae7f53509b..763141418818d2fe0dbdc8ce6d9f654700f1fe33:/include/wx/filefn.h diff --git a/include/wx/filefn.h b/include/wx/filefn.h index e81f3b36b0..e03a102705 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