~ubuntu-branches/ubuntu/saucy/libusbx/saucy-proposed

« back to all changes in this revision

Viewing changes to msvc/config.h

  • Committer: Package Import Robot
  • Author(s): Aurelien Jarno
  • Date: 2013-05-06 17:31:43 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130506173143-wfbiltvcnn7pvdpa
Tags: 2:1.0.15-1
* New upstream version.
* Fix cross-build (closes: #694912, #705658).
* Add a -dbg package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#error "Please make sure the msvc/ directory is removed from your build path."
6
6
#endif
7
7
 
 
8
/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
 
9
#pragma warning(disable:4200)
 
10
/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean 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
19
/* Default visibility */
9
20
#define DEFAULT_VISIBILITY /**/
10
21
 
11
 
/* Start with debug message logging enabled */
12
 
//#define ENABLE_DEBUG_LOGGING 1
13
 
 
14
 
/* Message logging */
 
22
/* Enable global message logging */
15
23
#define ENABLE_LOGGING 1
16
24
 
17
 
/* Windows backend */
18
 
#define OS_WINDOWS 1
 
25
/* Uncomment to start with debug message logging enabled */
 
26
// #define ENABLE_DEBUG_LOGGING 1
19
27
 
20
28
/* type of second poll() argument */
21
29
#define POLL_NFDS_TYPE unsigned int
 
30
 
 
31
/* Windows/WinCE backend */
 
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