1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

libnyquist: Update for VS2015+

This commit is contained in:
Henric Jungheim 2017-06-10 02:53:02 -07:00
parent 8bf2071fdd
commit bd5b333787
3 changed files with 3 additions and 5 deletions

View File

@ -1591,7 +1591,7 @@ double step_to_hz(double steps)
}
#ifdef WIN32
#ifndef _MSC_VER < 1800
#if _MSC_VER < 1800
#define RECIP_LOG_2 1.44269504088895364453
double log2(double x)

View File

@ -464,10 +464,6 @@ sound_type sound_zero(time_type t0, rate_type sr);
double step_to_hz(double);
/* LISP: (STEP-TO-HZ ANYNUM) */
#ifdef WIN32
double log2(double x);
#endif /* WIN32 */
/* macros for access to samples within a suspension */
/* NOTE: assume suspension structure is named "susp" */

View File

@ -87,7 +87,9 @@ void nyquist_printf(char *format, ...);
#define HAVE_LRINTF 0
/* Define to 1 if you have the `snprintf' function. */
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#define HAVE_SNPRINTF 1
/* Define to 1 if the system has the type `ssize_t'. */