mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 04:35:46 +00:00
Guard unistd.h with MacOS only macro
Fix compile error on Windows caused by #4877 Weird, I thought I saw this guard during the code review...
This commit is contained in:
parent
0a381a080b
commit
6bb28315fd
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@
|
|||
#include <clocale>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
#include <unistd.h>
|
||||
#ifdef __APPLE__
|
||||
#include <unistd.h> // for chdir
|
||||
#endif
|
||||
|
||||
// VFS includes must be before glad as they will conflict with Windows file api, which uses defines.
|
||||
#include "applets/error.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue