citra-emu
/
citra
Archived
1
0
Fork 0

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:
Weiyi Wang 2019-08-13 15:42:22 -04:00 committed by GitHub
parent 2f0ea48da4
commit 50ab002072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@
#include <QtGui>
#include <QtWidgets>
#include <fmt/format.h>
#include <unistd.h>
#ifdef __APPLE__
#include <unistd.h> // for chdir
#endif
#include "citra_qt/aboutdialog.h"
#include "citra_qt/applets/mii_selector.h"
#include "citra_qt/applets/swkbd.h"