mac.h 1010 Bytes
Newer Older
clean's avatar
clean committed
1
2
3
4
/*******************************************************************************
 *   MAC Dependencies                                                          *
 ******************************************************************************/

5
6
7
8
9
typedef short          TwoBytesInt;
typedef int            FourBytesInt;
typedef unsigned short TwoBytesUnsigned;
typedef unsigned int   FourBytesUnsigned;
typedef double  EightBytesReal;
clean's avatar
clean committed
10
11
12
13
14
15
16
17
18
19
20
21
typedef float         FourBytesReal;

#define SizeT		unsigned long
#define SizeOf(A)	((SizeT) sizeof (A))

#include <limits.h>
#define MAXUNSIGNED	ULONG_MAX

#define _VARARGS_

#include <string.h>
#include <stdlib.h>
22
#include <stdio.h>
clean's avatar
clean committed
23
24
25
26
27
28

#include <setjmp.h>
#include <stdarg.h>

typedef FILE *File;

29
30
void GetInitialPathList (void);
void FreePathList (void);
clean's avatar
clean committed
31
32
33
34
35
36
37
38
39
40
41

#define StdOut stdout
#if defined (__MWERKS__) || defined (__MRC__)
#define StdError stderr
#else
#define StdError stdout
#endif

#define FGetC(f) fgetc(f)
#define FGetS(s,n,f) fgets(s,n,f)
#define FPutC(c,f) fputc(c,f)