mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-23 18:45:42 +01:00
gc_adapter: Disable MSVC nonstandard extension warning on libusb.h
Pragma disable zero-sized array nonstandard extension warning on MSVC.
This commit is contained in:
parent
0bac7b6a95
commit
bc8ace9917
@ -4,7 +4,16 @@
|
|||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <thread>
|
#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>
|
#include <libusb.h>
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "input_common/gcadapter/gc_adapter.h"
|
#include "input_common/gcadapter/gc_adapter.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user