Common/FileSystem: Don't include malloc.h on macOS
This commit is contained in:
1 parent
33f3ab4d86
commit
4681f9d744
1 file changed
+5
-1
@@ -5,8 +5,10 @@
|
||||
#include "string_util.h"
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include <malloc.h>
|
||||
Log_SetChannel(FileSystem);
|
||||
#endif
|
||||
|
||||
#if defined(WIN32)
|
||||
#include <shlobj.h>
|
||||
@@ -18,6 +20,8 @@ Log_SetChannel(FileSystem);
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
Log_SetChannel(FileSystem);
|
||||
|
||||
namespace FileSystem {
|
||||
|
||||
ChangeNotifier::ChangeNotifier(const String& directoryPath, bool recursiveWatch)
|
||||
|
||||
Reference in new issue
Block a user