aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/sun.h
blob: 8a528c4e63cee9cebb4166b0b4742f543b27c2fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#define CheckVersion

typedef short int		TwoBytesInt;
typedef int				FourBytesInt;
typedef short unsigned	TwoBytesUnsigned;
typedef unsigned		FourBytesUnsigned;
typedef double			EightBytesReal;
typedef float			FourBytesReal;

#define SizeT	unsigned long
#define SizeOf(A) ((SizeT) sizeof (A))
#define MAXUNSIGNED 20000000L

#include <string.h>
#include <sys/types.h>
#include <setjmp.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>

#define _VARARGS_

typedef FILE *File;

extern FILE *std_out_file_p,*std_error_file_p;
#define StdOut std_out_file_p 
#define StdError std_error_file_p
#define StdVerboseH std_out_file_p
#define StdVerboseL std_out_file_p
#define StdTrace std_out_file_p
#define StdDebug std_out_file_p
#define StdListTypes std_out_file_p

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

int System (char *s);
int abs (int n);