'libs/rubberband' - Compiler specific includes

This commit is contained in:
John Emmas
2013-07-25 08:53:05 +01:00
parent e9c1a174d2
commit a65cfd2aff
6 changed files with 16 additions and 7 deletions

View File

@@ -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>

View File

@@ -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"

View File

@@ -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;

View File

@@ -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__

View File

@@ -23,7 +23,7 @@
#include <cstring>
#include "sysutils.h"
#ifdef __MSVC__
#ifdef COMPILER_MSVC
#include "bsd-3rdparty/getopt/getopt.h"
#else
#include <getopt.h>

View File

@@ -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