diff options
author | bunnei <bunneidev@gmail.com> | 2020-09-17 07:33:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-17 07:33:58 +0200 |
commit | fcd0925ecff8022e33daf5b0385be1bd23eefcd5 (patch) | |
tree | 69e7200a0a8f36f57da5d01e436fa1595743e87d | |
parent | Merge pull request #4663 from ReinUsesLisp/wswitch (diff) | |
parent | gc_adapter: Disable MSVC nonstandard extension warning on libusb.h (diff) | |
download | yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar.gz yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar.bz2 yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar.lz yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar.xz yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.tar.zst yuzu-fcd0925ecff8022e33daf5b0385be1bd23eefcd5.zip |
-rw-r--r-- | src/input_common/gcadapter/gc_adapter.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp index c6c423c4b..c507c9891 100644 --- a/src/input_common/gcadapter/gc_adapter.cpp +++ b/src/input_common/gcadapter/gc_adapter.cpp @@ -4,7 +4,16 @@ #include <chrono> #include <thread> + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4200) // nonstandard extension used : zero-sized array in struct/union +#endif #include <libusb.h> +#ifdef _MSC_VER +#pragma warning(pop) +#endif + #include "common/logging/log.h" #include "input_common/gcadapter/gc_adapter.h" |