X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ff07edb0bc8969f580d543ee0de674df8325e16..bc429ce01f519f3edae182b516cb15b8d2df54a7:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 6b0c967cca..df91e1cb4e 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -907,6 +907,8 @@ wxString wxMacHFSUniStrToString( ConstHFSUniStr255Param uniname ) return wxMacCFStringHolder(cfMutableString).AsString() ; } +#ifndef __LP64__ + wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) { FSRef fsRef ; @@ -924,6 +926,7 @@ void wxMacFilename2FSSpec( const wxString& path , FSSpec *spec ) wxMacPathToFSRef( path , &fsRef ) ; err = FSRefMakeFSSpec( &fsRef , spec ) ; } +#endif #endif // __WXMAC__ @@ -1801,6 +1804,7 @@ bool wxIsWritable(const wxString &path) #elif defined( __WINDOWS__ ) return wxCheckGenericPermission(path, GENERIC_WRITE); #else + wxUnusedVar(path); // TODO return false; #endif @@ -1814,6 +1818,7 @@ bool wxIsReadable(const wxString &path) #elif defined( __WINDOWS__ ) return wxCheckGenericPermission(path, GENERIC_READ); #else + wxUnusedVar(path); // TODO return false; #endif @@ -1827,6 +1832,7 @@ bool wxIsExecutable(const wxString &path) #elif defined( __WINDOWS__ ) return wxCheckGenericPermission(path, GENERIC_EXECUTE); #else + wxUnusedVar(path); // TODO return false; #endif