diff options
author | Weiyi Wang <wwylele@gmail.com> | 2019-08-13 21:42:22 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2019-08-22 15:58:39 +0200 |
commit | 05801129406cb44e615925bd614f25067b92ac8f (patch) | |
tree | 390691bb88703ab23066f718549386845fddd1cd | |
parent | citra_qt: on osx chdir to bundle dir to allow detection of user folder (diff) | |
download | yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar.gz yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar.bz2 yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar.lz yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar.xz yuzu-05801129406cb44e615925bd614f25067b92ac8f.tar.zst yuzu-05801129406cb44e615925bd614f25067b92ac8f.zip |
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 693bb1fcf..e871fef7b 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -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" |