1 /* config.h. Manual config for MSVC. */
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."
8 /* Visual Studio 2015 and later defines timespec */
10 #define _TIMESPEC_DEFINED 1
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)
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)
29 /* Default visibility */
30 #define DEFAULT_VISIBILITY /**/
32 /* Enable global message logging */
33 #define ENABLE_LOGGING 1
35 /* Uncomment to start with debug message logging enabled */
36 // #define ENABLE_DEBUG_LOGGING 1
38 /* Uncomment to enabling logging to system log */
39 // #define USE_SYSTEM_LOGGING_FACILITY
41 /* type of second poll() argument */
42 #define POLL_NFDS_TYPE unsigned int
44 /* Windows/WinCE backend */
45 #if defined(_WIN32_WCE)
47 #define HAVE_MISSING_H
50 #define HAVE_SYS_TYPES_H 1