spandsp 0.0.6
|
00001 /* 00002 * SpanDSP - a series of DSP components for telephony 00003 * 00004 * config.h - a fudge for MSVC, which lacks this header 00005 * 00006 * Written by Steve Underwood <steveu@coppice.org> 00007 * 00008 * Copyright (C) 2006 Michael Jerris 00009 * 00010 * 00011 * This file is released in the public domain. 00012 * 00013 * $Id: config.h,v 1.4 2009/02/25 15:30:21 steveu Exp $ 00014 */ 00015 00016 #if !defined(_MSVC_CONFIG_H_) 00017 #define _MSVC_CONFIG_H_ 00018 00019 #define HAVE_SINF 00020 #define HAVE_COSF 00021 #define HAVE_TANF 00022 #define HAVE_ASINF 00023 #define HAVE_ACOSF 00024 #define HAVE_ATANF 00025 #define HAVE_ATAN2F 00026 #define HAVE_CEILF 00027 #define HAVE_FLOORF 00028 #define HAVE_POWF 00029 #define HAVE_EXPF 00030 #define HAVE_LOGF 00031 #define HAVE_LOG10F 00032 #define HAVE_MATH_H 00033 #define HAVE_TGMATH_H 00034 00035 #define HAVE_LONG_DOUBLE 00036 #define HAVE_LIBTIFF 00037 00038 #define SPANDSP_USE_EXPORT_CAPABILITY 1 00039 00040 #define PACKAGE "spandsp" 00041 #define VERSION "0.0.6" 00042 00043 /* Win32/DevStudio compatibility stuff */ 00044 00045 #ifdef _MSC_VER 00046 00047 #if (_MSC_VER >= 1400) // VC8+ 00048 #ifndef _CRT_SECURE_NO_DEPRECATE 00049 #define _CRT_SECURE_NO_DEPRECATE 00050 #endif 00051 #ifndef _CRT_NONSTDC_NO_DEPRECATE 00052 #define _CRT_NONSTDC_NO_DEPRECATE 00053 #endif 00054 #ifndef _CRT_SECURE_NO_WARNINGS 00055 #define _CRT_SECURE_NO_WARNINGS 00056 #endif 00057 #endif // VC8+ 00058 00059 // disable the following warnings 00060 #pragma warning(disable:4100) // The formal parameter is not referenced in the body of the function. The unreferenced parameter is ignored. 00061 #pragma warning(disable:4200) // Non standard extension C zero sized array 00062 #pragma warning(disable:4706) // assignment within conditional expression 00063 #pragma warning(disable:4244) // conversion from 'type1' to 'type2', possible loss of data 00064 #pragma warning(disable:4295) // array is too small to include a terminating null character 00065 #pragma warning(disable:4125) // decimal digit terminates octal escape sequence 00066 #pragma warning(disable:4305) // 'function' : truncation from 'double' to 'float' 00067 #pragma warning(disable:4018) // '<' : signed/unsigned mismatch 00068 #pragma warning(disable:4389) // '==' : signed/unsigned mismatch 00069 #pragma warning(disable:4245) // 'return' : conversion from 'int' to 'size_t', signed/unsigned mismatch 00070 00071 #define strncasecmp _strnicmp 00072 #define strcasecmp _stricmp 00073 #define snprintf _snprintf 00074 #define inline __inline 00075 #define __inline__ __inline 00076 00077 #define _MMX_H_ 00078 00079 #include <malloc.h> // To get alloca 00080 00081 #endif 00082 00083 #endif