mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-30 08:55:41 -04:00
Common/FileSystem: Don't include malloc.h on macOS
This commit is contained in:
parent
33f3ab4d86
commit
4681f9d744
@ -5,8 +5,10 @@
|
|||||||
#include "string_util.h"
|
#include "string_util.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#ifndef __APPLE__
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
Log_SetChannel(FileSystem);
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
@ -18,6 +20,8 @@ Log_SetChannel(FileSystem);
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Log_SetChannel(FileSystem);
|
||||||
|
|
||||||
namespace FileSystem {
|
namespace FileSystem {
|
||||||
|
|
||||||
ChangeNotifier::ChangeNotifier(const String& directoryPath, bool recursiveWatch)
|
ChangeNotifier::ChangeNotifier(const String& directoryPath, bool recursiveWatch)
|
||||||
@ -1441,4 +1445,4 @@ bool SetWorkingDirectory(const char* path)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace FileSystem
|
} // namespace FileSystem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user