mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Fix macOS build.
This commit is contained in:
@@ -208,7 +208,7 @@ bool FileSystem::fileHide( const std::string& filepath ) {
|
||||
return SetFileAttributesW( (LPCWSTR)String( filepath ).toWideString().c_str(),
|
||||
FILE_ATTRIBUTE_HIDDEN );
|
||||
#elif EE_PLATFORM == EE_PLATFORM_MACOS
|
||||
return 0 == chflags( filename.c_str(), UF_HIDDEN );
|
||||
return 0 == chflags( filepath.c_str(), UF_HIDDEN );
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user