X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=app%2Fsrc%2Fmain%2Fjni%2Flibusb-1.0.22%2Fmsvc%2Fconfig.h;fp=app%2Fsrc%2Fmain%2Fjni%2Flibusb-1.0.22%2Fmsvc%2Fconfig.h;h=b20d99ba71ec37f7e314cf7ea3112999df54d217;hb=577426ccc66649228285c4a0b6ba8752836059c6;hp=0000000000000000000000000000000000000000;hpb=b7202442677d0cf41e6e59870cd6c34e5619b8b9;p=rtmpclient.git diff --git a/app/src/main/jni/libusb-1.0.22/msvc/config.h b/app/src/main/jni/libusb-1.0.22/msvc/config.h new file mode 100644 index 0000000..b20d99b --- /dev/null +++ b/app/src/main/jni/libusb-1.0.22/msvc/config.h @@ -0,0 +1,51 @@ +/* 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 + +/* Visual Studio 2015 and later defines timespec */ +#if (_MSC_VER >= 1900) +#define _TIMESPEC_DEFINED 1 +#endif + +/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */ +#pragma warning(disable:4200) +/* Disable: warning C4324: structure was padded due to __declspec(align()) */ +#pragma warning(disable:4324) +/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */ +#pragma warning(disable:6258) +/* Disable: warning C4996: 'GetVersionA': was declared deprecated */ +#pragma warning(disable:4996) + +#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_SYS_TYPES_H 1 +#endif