Merge pull request #4884 from citra-emu/wwylele-patch-1

Guard unistd.h with MacOS only macro
This commit is contained in:
Pengfei Zhu 2019-08-14 07:40:54 +08:00 committed by GitHub
commit edf3171a07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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