mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Externals: update libusb to version 1.0.19
This commit is contained in:

committed by
mathieui

parent
4ff5ec7117
commit
4fa38f0c02
42
Externals/libusb/msvc/config.h
vendored
Normal file
42
Externals/libusb/msvc/config.h
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
/* config.h. Manual config for MSVC. */
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#warn "msvc/config.h shouldn't be included for your development environment."
|
||||
#error "Please make sure the msvc/ directory is removed from your build path."
|
||||
#endif
|
||||
|
||||
/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
|
||||
#pragma warning(disable:4200)
|
||||
/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */
|
||||
#pragma warning(disable: 6258)
|
||||
#if defined(_PREFAST_)
|
||||
/* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
|
||||
#pragma warning(disable:28719)
|
||||
/* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
|
||||
#pragma warning(disable:28125)
|
||||
#endif
|
||||
|
||||
/* Default visibility */
|
||||
#define DEFAULT_VISIBILITY /**/
|
||||
|
||||
/* Enable global message logging */
|
||||
#define ENABLE_LOGGING 1
|
||||
|
||||
/* Uncomment to start with debug message logging enabled */
|
||||
// #define ENABLE_DEBUG_LOGGING 1
|
||||
|
||||
/* Uncomment to enabling logging to system log */
|
||||
// #define USE_SYSTEM_LOGGING_FACILITY
|
||||
|
||||
/* type of second poll() argument */
|
||||
#define POLL_NFDS_TYPE unsigned int
|
||||
|
||||
/* Windows/WinCE backend */
|
||||
#if defined(_WIN32_WCE)
|
||||
#define OS_WINCE 1
|
||||
#define HAVE_MISSING_H
|
||||
#else
|
||||
#define OS_WINDOWS 1
|
||||
#define HAVE_SIGNAL_H 1
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
#endif
|
Reference in New Issue
Block a user