'libs/rubberband' - Compiler specific includes
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
COPYING included with this distribution for more information.
|
||||
*/
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#include "bsd-3rdparty/float_cast/float_cast.h"
|
||||
#endif
|
||||
#include "StretchCalculator.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
COPYING included with this distribution for more information.
|
||||
*/
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#include "bsd-3rdparty/float_cast/float_cast.h"
|
||||
#endif
|
||||
#include "StretcherImpl.h"
|
||||
#include "PercussiveAudioCurve.h"
|
||||
#include "HighFrequencyAudioCurve.h"
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
|
||||
#include <cstdlib>
|
||||
#ifndef COMPILER_MSVC
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
||||
@@ -35,6 +35,9 @@
|
||||
** long int lrint (double x) ;
|
||||
*/
|
||||
|
||||
#ifndef __FLOAT_CAST_H__ // Added by JE - 30-11-2009
|
||||
#define __FLOAT_CAST_H__
|
||||
|
||||
#if (defined (WIN32) || defined (_WIN32))
|
||||
|
||||
#include <math.h>
|
||||
@@ -69,5 +72,5 @@
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif // __FLOAT_CAST_H__
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <cstring>
|
||||
#include "sysutils.h"
|
||||
|
||||
#ifdef __MSVC__
|
||||
#ifdef COMPILER_MSVC
|
||||
#include "bsd-3rdparty/getopt/getopt.h"
|
||||
#else
|
||||
#include <getopt.h>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#ifndef _RUBBERBAND_SYSINFO_H_
|
||||
#define _RUBBERBAND_SYSINFO_H_
|
||||
|
||||
#ifdef __MSVC__
|
||||
#ifdef COMPILER_MSVC
|
||||
#include "bsd-3rdparty/float_cast/float_cast.h"
|
||||
#define R__ __restrict
|
||||
#endif
|
||||
@@ -28,11 +28,11 @@
|
||||
#define R__
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#ifdef COMPILER_MINGW
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MSVC__
|
||||
#ifdef COMPILER_MSVC
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user