diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index 0318c7231..1f0507807 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -5,8 +5,10 @@ #include "string_util.h" #include #include + +#ifndef __APPLE__ #include -Log_SetChannel(FileSystem); +#endif #if defined(WIN32) #include @@ -18,6 +20,8 @@ Log_SetChannel(FileSystem); #include #endif +Log_SetChannel(FileSystem); + namespace FileSystem { ChangeNotifier::ChangeNotifier(const String& directoryPath, bool recursiveWatch) @@ -1441,4 +1445,4 @@ bool SetWorkingDirectory(const char* path) #endif -} // namespace FileSystem \ No newline at end of file +} // namespace FileSystem