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 2013 or later is required */
10 #error "Visual Studio 2013 or later is required."
13 /* Visual Studio 2013 does not support __func__ */
15 #define __func__ __FUNCTION__
18 /* Visual Studio 2015 and later defines timespec */
19 #if (_MSC_VER >= 1900)
20 #define _TIMESPEC_DEFINED 1
23 /* Disable: warning C4127: conditional expression is constant */
24 #pragma warning(disable:4127)
25 /* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
26 #pragma warning(disable:4200)
27 /* Disable: warning C4201: nonstandard extension used : nameless struct/union */
28 #pragma warning(disable:4201)
29 /* Disable: warning C4324: structure was padded due to __declspec(align()) */
30 #pragma warning(disable:4324)
31 /* Disable: warning C4996: 'GetVersionExA': was declared deprecated */
32 #pragma warning(disable:4996)
34 #if defined(_PREFAST_)
35 /* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
36 #pragma warning(disable:28719)
37 /* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
38 #pragma warning(disable:28125)
41 /* Define to the attribute for default visibility. */
42 #define DEFAULT_VISIBILITY /**/
44 /* Define to 1 to start with debug message logging enabled. */
45 /* #undef ENABLE_DEBUG_LOGGING */
47 /* Define to 1 to enable message logging. */
48 #define ENABLE_LOGGING 1
50 /* Define to 1 if compiling for a Windows platform. */
51 #define PLATFORM_WINDOWS 1
53 /* Define to the attribute for enabling parameter checks on printf-like
55 #define PRINTF_FORMAT(a, b) /**/
57 /* Define to 1 to output logging messages to the systemwide log. */
58 /* #undef USE_SYSTEM_LOGGING_FACILITY */