Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: third_party/libusb/src/msvc/config.h

Issue 19713005: Update libusb 1.0.9 to libusbx 1.0.16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* config.h. Manual config for MSVC. */ 1 /* config.h. Manual config for MSVC. */
2 2
3 #ifndef _MSC_VER 3 #ifndef _MSC_VER
4 #warn "msvc/config.h shouldn't be included for your development environment." 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." 5 #error "Please make sure the msvc/ directory is removed from your build path."
6 #endif 6 #endif
7 7
8 /* Disable: warning C4200: nonstandard extension used : zero-sized array in stru ct/union */
9 #pragma warning(disable:4200)
10 /* Disable: warning C6258: Using TerminateThread does not allow proper thread cl ean up */
11 #pragma warning(disable: 6258)
12 #if defined(_PREFAST_)
13 /* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
14 #pragma warning(disable:28719)
15 /* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
16 #pragma warning(disable:28125)
17 #endif
18
8 /* Default visibility */ 19 /* Default visibility */
9 #define DEFAULT_VISIBILITY /**/ 20 #define DEFAULT_VISIBILITY /**/
10 21
11 /* Debug message logging */ 22 /* Enable global message logging */
12 //#define ENABLE_DEBUG_LOGGING 1
13
14 /* Message logging */
15 #define ENABLE_LOGGING 1 23 #define ENABLE_LOGGING 1
16 24
17 /* Windows backend */ 25 /* Uncomment to start with debug message logging enabled */
18 #define OS_WINDOWS 1 26 // #define ENABLE_DEBUG_LOGGING 1
19 27
20 /* type of second poll() argument */ 28 /* type of second poll() argument */
21 #define POLL_NFDS_TYPE unsigned int 29 #define POLL_NFDS_TYPE unsigned int
22 30
23 /* no way to run git describe from MSVC? */ 31 /* Windows/WinCE backend */
24 #define LIBUSB_DESCRIBE "" 32 #if defined(_WIN32_WCE)
33 #define OS_WINCE 1
34 #define HAVE_MISSING_H
35 #else
36 #define OS_WINDOWS 1
37 #define HAVE_SIGNAL_H 1
38 #define HAVE_SYS_TYPES_H 1
39 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698