Blame msvc/config.h

Packit Service b0a153
/* config.h.  Manual config for MSVC.  */
Packit Service b0a153
Packit Service b0a153
#ifndef _MSC_VER
Packit Service b0a153
#warn "msvc/config.h shouldn't be included for your development environment."
Packit Service b0a153
#error "Please make sure the msvc/ directory is removed from your build path."
Packit Service b0a153
#endif
Packit Service b0a153
Packit Service b0a153
/* Visual Studio 2015 and later defines timespec */
Packit Service b0a153
#if (_MSC_VER >= 1900)
Packit Service b0a153
#define _TIMESPEC_DEFINED 1
Packit Service b0a153
#endif
Packit Service b0a153
Packit Service b0a153
/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
Packit Service b0a153
#pragma warning(disable:4200)
Packit Service b0a153
/* Disable: warning C4324: structure was padded due to __declspec(align()) */
Packit Service b0a153
#pragma warning(disable:4324)
Packit Service b0a153
/* Disable: warning C6258: Using TerminateThread does not allow proper thread clean up */
Packit Service b0a153
#pragma warning(disable:6258)
Packit Service b0a153
/* Disable: warning C4996: 'GetVersionA': was declared deprecated */
Packit Service b0a153
#pragma warning(disable:4996)
Packit Service b0a153
Packit Service b0a153
#if defined(_PREFAST_)
Packit Service b0a153
/* Disable "Banned API" errors when using the MS's WDK OACR/Prefast */
Packit Service b0a153
#pragma warning(disable:28719)
Packit Service b0a153
/* Disable "The function 'InitializeCriticalSection' must be called from within a try/except block" */
Packit Service b0a153
#pragma warning(disable:28125)
Packit Service b0a153
#endif
Packit Service b0a153
Packit Service b0a153
/* Default visibility */
Packit Service b0a153
#define DEFAULT_VISIBILITY /**/
Packit Service b0a153
Packit Service b0a153
/* Enable global message logging */
Packit Service b0a153
#define ENABLE_LOGGING 1
Packit Service b0a153
Packit Service b0a153
/* Uncomment to start with debug message logging enabled */
Packit Service b0a153
// #define ENABLE_DEBUG_LOGGING 1
Packit Service b0a153
Packit Service b0a153
/* Uncomment to enabling logging to system log */
Packit Service b0a153
// #define USE_SYSTEM_LOGGING_FACILITY
Packit Service b0a153
Packit Service b0a153
/* type of second poll() argument */
Packit Service b0a153
#define POLL_NFDS_TYPE unsigned int
Packit Service b0a153
Packit Service b0a153
/* Windows/WinCE backend */
Packit Service b0a153
#if defined(_WIN32_WCE)
Packit Service b0a153
#define OS_WINCE 1
Packit Service b0a153
#define HAVE_MISSING_H
Packit Service b0a153
#else
Packit Service b0a153
#define OS_WINDOWS 1
Packit Service b0a153
#define HAVE_SYS_TYPES_H 1
Packit Service b0a153
#endif