14 #if !defined(_MSVC_CONFIG_H_)
15 #define _MSVC_CONFIG_H_
33 #define HAVE_LONG_DOUBLE
36 #define SPANDSP_USE_EXPORT_CAPABILITY 1
38 #define PACKAGE "spandsp"
39 #define VERSION "0.0.6"
45 #if (_MSC_VER >= 1400) // VC8+
46 #ifndef _CRT_SECURE_NO_DEPRECATE
47 #define _CRT_SECURE_NO_DEPRECATE
49 #ifndef _CRT_NONSTDC_NO_DEPRECATE
50 #define _CRT_NONSTDC_NO_DEPRECATE
52 #ifndef _CRT_SECURE_NO_WARNINGS
53 #define _CRT_SECURE_NO_WARNINGS
58 #pragma warning(disable:4100) // The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored.
59 #pragma warning(disable:4200) // Non standard extension C zero sized array
60 #pragma warning(disable:4706) // assignment within conditional expression
61 #pragma warning(disable:4244) // conversion from 'type1' to 'type2', possible loss of data
62 #pragma warning(disable:4295) // array is too small to include a terminating null character
63 #pragma warning(disable:4125) // decimal digit terminates octal escape sequence
64 #pragma warning(disable:4305) // 'function' : truncation from 'double' to 'float'
65 #pragma warning(disable:4018) // '<' : signed/unsigned mismatch
66 #pragma warning(disable:4389) // '==' : signed/unsigned mismatch
67 #pragma warning(disable:4245) // 'return' : conversion from 'int' to 'size_t', signed/unsigned mismatch
69 #define strncasecmp _strnicmp
70 #define strcasecmp _stricmp
71 #define snprintf _snprintf
72 #define inline __inline
73 #define __inline__ __inline