Fix issue 1) not recognizes some usb device, 2) reconnect when ffmpeg encoder error
[rtmpclient.git] / app / src / main / jni / libusb-1.0.22 / msvc / config.h
1 /* config.h.  Manual config for MSVC.  */
2
3 #ifndef _MSC_VER
4 #warn "msvc/config.h shouldn't be included for your development environment."
5 #error "Please make sure the msvc/ directory is removed from your build path."
6 #endif
7
8 /* Visual Studio 2015 and later defines timespec */
9 #if (_MSC_VER >= 1900)
10 #define _TIMESPEC_DEFINED 1
11 #endif
12
13 /* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
14 #pragma warning(disable:4200)
15 /* Disable: warning C4324: structure was padded due to __declspec(align()) */
16 #pragma warning(disable:4324)
17 /* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */
18 #pragma warning(disable:6258)
19 /* Disable: warning C4996: 'GetVersionA': was declared deprecated */
20 #pragma warning(disable:4996)
21
22 #if defined(_PREFAST_)
23 /* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
24 #pragma warning(disable:28719)
25 /* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
26 #pragma warning(disable:28125)
27 #endif
28
29 /* Default visibility */
30 #define DEFAULT_VISIBILITY /**/
31
32 /* Enable global message logging */
33 #define ENABLE_LOGGING 1
34
35 /* Uncomment to start with debug message logging enabled */
36 // #define ENABLE_DEBUG_LOGGING 1
37
38 /* Uncomment to enabling logging to system log */
39 // #define USE_SYSTEM_LOGGING_FACILITY
40
41 /* type of second poll() argument */
42 #define POLL_NFDS_TYPE unsigned int
43
44 /* Windows/WinCE backend */
45 #if defined(_WIN32_WCE)
46 #define OS_WINCE 1
47 #define HAVE_MISSING_H
48 #else
49 #define OS_WINDOWS 1
50 #define HAVE_SYS_TYPES_H 1
51 #endif