#include "AUD_Space.h"
#include <cstring>
-#ifdef _MSC_VER
-#if (_MSC_VER <= 1500)
- typedef short int16_t;
- typedef int int32_t;
-#else
-# include <stdint.h>
-#endif
-#else
#include <stdint.h>
-#endif
typedef void (*AUD_convert_f)(data_t* target, data_t* source, int length);
# include <malloc.h>
#endif
-#if defined(__cplusplus) && ((__cplusplus >= 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1800))
+#if defined(__cplusplus) && ((__cplusplus >= 201103L) || defined(_MSC_VER))
# define HAS_CPP11_FEATURES
#endif
#endif
/* do not redefine functions from C99, POSIX.1-2001 or MSVC12 (partial C99) */
-#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || (defined(_MSC_VER) && _MSC_VER >= 1800))
+#if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || defined(_MSC_VER))
#ifndef sqrtf
#define sqrtf(a) ((float)sqrt(a))
#endif
#ifdef WIN32
-# if defined(_MSC_VER) && _MSC_VER >= 1800 && defined(_M_X64)
+# if defined(_MSC_VER) && defined(_M_X64)
# include <math.h> /* needed for _set_FMA3_enable */
# endif
# include <windows.h>
#ifdef WIN32
/* FMA3 support in the 2013 CRT is broken on Vista and Windows 7 RTM (fixed in SP1). Just disable it. */
-# if defined(_MSC_VER) && _MSC_VER >= 1800 && defined(_M_X64)
+# if defined(_MSC_VER) && defined(_M_X64)
_set_FMA3_enable(0);
# endif