File:  [RetroPC.NET] / np2 / macosx / compiler.h
Revision 1.3: download - view: text, annotated - select for diffs
Mon Oct 20 00:08:09 2003 JST (22 years ago) by yui
Branches: MAIN
CVS tags: HEAD
fix Mac config (T.Yui)

#include	<string.h>
#include	<stdio.h>
#include	<stdlib.h>
#include	<stddef.h>
#ifndef NP2GCC
#include	<MultiProcessing.h>
#endif

#define	MACOS
#define	BYTESEX_BIG

typedef char			TCHAR;
typedef unsigned char	BYTE;

typedef int				SINT;
typedef unsigned int	UINT;

typedef short			SINT16;
typedef unsigned short	UINT16;

typedef int				SINT32;
typedef unsigned int	UINT32;

typedef Boolean			BOOL;


#define	MAX_PATH	260

#define	ZeroMemory(a, b)		memset((a),  0 , (b))
#define	FillMemory(a, b, c)		memset((a), (c), (b))
#define	CopyMemory(a, b, c)		memcpy((a), (b), (c))

#define	max(a, b)				(((a)>(b))?(a):(b))
#define	min(a, b)				(((a)<(b))?(a):(b))


#include	"common.h"
#include	"macossub.h"
#include	"milstr.h"
#include	"_memory.h"
#include	"rect.h"
#include	"lstarray.h"
#include	"trace.h"

#define	GETTICK()			macos_gettick()
#define	GETRAND()			rand()
#define	SPRINTF				sprintf

#define	VERMOUTH_LIB
#define SOUND_CRITICAL

// #define	SUPPORT_8BPP
#ifdef NP2GCC
#define	SUPPORT_16BPP
#endif
// #define	SUPPORT_24BPP
#define	SUPPORT_32BPP
// #define SUPPORT_NORMALDISP
#define	MEMOPTIMIZE		1


RetroPC.NET-CVS <cvs@retropc.net>