diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-15 23:32:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-17 03:23:34 +0200 |
commit | 819c21d99e39dd90cefd84a2c4d8884982456d44 (patch) | |
tree | 81850ba85c4465654727608948aa561b4a24dfd9 /src/yuzu_cmd | |
parent | Merge pull request #2378 from lioncash/ro (diff) | |
download | yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar.gz yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar.bz2 yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar.lz yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar.xz yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.tar.zst yuzu-819c21d99e39dd90cefd84a2c4d8884982456d44.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 7ea4a1b18..a1d7879b1 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -32,11 +32,7 @@ #include "yuzu_cmd/config.h" #include "yuzu_cmd/emu_window/emu_window_sdl2.h" -#include <getopt.h> #include "core/file_sys/registered_cache.h" -#ifndef _MSC_VER -#include <unistd.h> -#endif #ifdef _WIN32 // windows.h needs to be included before shellapi.h @@ -45,6 +41,12 @@ #include <shellapi.h> #endif +#undef _UNICODE +#include <getopt.h> +#ifndef _MSC_VER +#include <unistd.h> +#endif + #ifdef _WIN32 extern "C" { // tells Nvidia and AMD drivers to use the dedicated GPU by default on laptops with switchable |