#define compatibility patches

This commit is contained in:
oparviai 2011-07-17 10:58:40 +00:00
parent 629a1bbc14
commit 2ea719ad39
3 changed files with 2 additions and 8 deletions

View File

@ -50,7 +50,7 @@ using namespace std;
// Processing chunk size
#define BUFF_SIZE 2048
#if WIN32
#if _WIN32
#include <io.h>
#include <fcntl.h>

View File

@ -42,9 +42,7 @@
#include "cpu_detect.h"
#ifndef WIN32
#error wrong platform - this source code file is exclusively for Win32 platform
#endif
#include "STTypes.h"
//////////////////////////////////////////////////////////////////////////////
//

View File

@ -53,10 +53,6 @@
#ifdef SOUNDTOUCH_ALLOW_MMX
// 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;
//////////////////////////////////////////////////////////////////////////////