Subversion Repositories tendra.SVN

Rev

Rev 6 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
/*
30
    SYSTEM START-UP FILE FOR linux/80x86
31
 
32
    This file defines any built-in macros etc. necessary to traverse the
33
    system headers correctly.
34
*/
35
 
36
#ifndef __TDF_SYS_INCLUDED
37
#define __TDF_SYS_INCLUDED
38
 
39
#include <Xsystem>
40
 
41
#pragma TenDRA begin
42
#pragma TenDRA set size_t : unsigned int
43
#pragma TenDRA set wchar_t : long int
44
#pragma TenDRA set ptrdiff_t : int
45
#pragma TenDRA character signed
46
#pragma TenDRA directive assert allow
47
#pragma TenDRA directive unassert allow
48
#pragma TenDRA longlong type allow
49
 
50
/* Put target-dependent macro definitions here */
51
 
52
#ifndef __NO_BUILTIN_ASSERTIONS
53
#assert machine(i386)
54
#assert cpu(i386)
55
#assert system(unix)
56
#assert system(winnt)
57
#unassert lint
58
#endif
59
 
60
#define i386		1
61
#define __i386		1
62
#define __i386__	1
63
#define _X86_		1
64
#define _WIN32		1
65
#define __CYGWIN32__	1
66
#define __WINNT		1
67
 
68
/* macros to match GNU C extensions used in headers */
69
#ifndef __inline__
70
#pragma TenDRA keyword __inline__ for inline
71
#endif
72
 
73
#ifndef __signed__
74
#define __signed__	signed
75
#endif
76
 
77
#ifndef __attribute__
78
#define __attribute__(p)
79
#endif
80
 
81
/* gcc has alloca builtin */
82
#include <alloca.h>
83
 
84
#endif