Corrected modplug and monkeyaudio to build with non-gcc compilers.

Original commit message from CVS:
Corrected modplug and monkeyaudio to build with non-gcc compilers.
This commit is contained in:
Brian Cameron 2003-05-22 11:33:16 +00:00
parent ce19421a31
commit 15f1745a69
6 changed files with 24 additions and 0 deletions

View file

@ -3,6 +3,10 @@
#include "IO.h"
#ifndef __inline
#define __inline
#endif
//#define BUILD_RANGE_TABLE
struct RANGE_CODER_STRUCT_COMPRESS

View file

@ -4,6 +4,10 @@
#include "RollBuffer.h"
#define NN_WINDOW_ELEMENTS 512
#ifndef __inline
#define __inline
#endif
#ifdef __GNUC_IA32__
extern "C" {
__inline void Adapt ( short* pM, const short* pAdapt, int nDirection, int nOrder );

View file

@ -1,6 +1,10 @@
#ifndef APE_ROLLBUFFER_H
#define APE_ROLLBUFFER_H
#ifndef __inline
#define __inline
#endif
template <class TYPE> class CRollBuffer
{
public:

View file

@ -1,6 +1,10 @@
#ifndef APE_SCALEFIRSTORDERFILER_H
#define APE_SCALEFIRSTORDERFILER_H
#ifndef __inline
#define __inline
#endif
template <int MULTIPLY, int SHIFT> class CScaledFirstOrderFilter
{
public:

View file

@ -1,6 +1,10 @@
#ifndef APE_SMARTPTR_H
#define APE_SMARTPTR_H
#ifndef __inline
#define __inline
#endif
// disable the operator -> on UDT warning
#ifdef _WIN32
# pragma warning( push )

View file

@ -4,6 +4,10 @@
#include "UnBitArrayBase.h"
#include "BitArray.h"
#ifndef __inline
#define __inline
#endif
class IAPEDecompress;
struct RANGE_CODER_STRUCT_DECOMPRESS