#ifndef _WIN32
#ifndef APE_NOWINDOWS_H
#define APE_NOWINDOWS_H
#include <SupportDefs.h>
#define FALSE 0
#define TRUE 1
#define NEAR
#define FAR
typedef char str_ansi;
typedef unsigned char str_utf8;
typedef char str_utf16;
typedef unsigned long DWORD;
typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef float FLOAT;
typedef void * HANDLE;
typedef unsigned int UINT;
typedef unsigned int WPARAM;
typedef long LPARAM;
typedef const char * LPCSTR;
typedef const char* LPCTSTR;
typedef const char* LPCWSTR;
typedef char * LPSTR;
typedef long LRESULT;
typedef unsigned char UCHAR;
#define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
#if __GNUC__ == 2
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#define CALLBACK
#define _stricmp strcasecmp
#define _strnicmp strncasecmp
#define wcslen strlen
#define wcsicmp strcmp
#define _wtoi atoi
#define _wcsicmp strcmp
#define wcscmp strcmp
#define _FPOSOFF(fp) ((long)(fp).__pos)
#define MAX_PATH 260
#ifndef _WAVEFORMATEX_
#define _WAVEFORMATEX_
typedef struct tWAVEFORMATEX
{
WORD wFormatTag;
WORD nChannels;
DWORD nSamplesPerSec;
DWORD nAvgBytesPerSec;
WORD nBlockAlign;
WORD wBitsPerSample;
WORD cbSize;
} WAVEFORMATEX, *PWAVEFORMATEX, NEAR *NPWAVEFORMATEX, FAR *LPWAVEFORMATEX;
typedef const WAVEFORMATEX FAR *LPCWAVEFORMATEX;
const int32 ERROR_INVALID_PARAMETER = B_ERRORS_END+1;
#endif
#endif
#endif