mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-06 23:20:03 +01:00
#define compatibility patches
This commit is contained in:
parent
629a1bbc14
commit
2ea719ad39
@ -50,7 +50,7 @@ using namespace std;
|
|||||||
// Processing chunk size
|
// Processing chunk size
|
||||||
#define BUFF_SIZE 2048
|
#define BUFF_SIZE 2048
|
||||||
|
|
||||||
#if WIN32
|
#if _WIN32
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
|||||||
@ -42,9 +42,7 @@
|
|||||||
|
|
||||||
#include "cpu_detect.h"
|
#include "cpu_detect.h"
|
||||||
|
|
||||||
#ifndef WIN32
|
#include "STTypes.h"
|
||||||
#error wrong platform - this source code file is exclusively for Win32 platform
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
|
|||||||
@ -53,10 +53,6 @@
|
|||||||
#ifdef SOUNDTOUCH_ALLOW_MMX
|
#ifdef SOUNDTOUCH_ALLOW_MMX
|
||||||
// MMX routines available only with integer sample type
|
// MMX routines available only with integer sample type
|
||||||
|
|
||||||
#if !(WIN32 || __i386__ || __x86_64__)
|
|
||||||
#error "wrong platform - this source code file is exclusively for x86 platforms"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace soundtouch;
|
using namespace soundtouch;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user