Subversion Repositories tendra.SVN

Rev

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

Rev Author Line No. Line
2 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
 
31
#ifndef CONFIG_INCLUDED
32
#define CONFIG_INCLUDED
33
 
34
 
35
/*
36
    INCLUDE BASIC CONFIGURATION FILES
37
*/
38
 
39
#include "ossg_api.h"
6 7u83 40
#include "tendra.h"
2 7u83 41
 
42
 
43
/*
44
    USEFUL MACROS
45
 
46
    Useful general utility macros (including discarded function returns)
47
    can be placed here.
48
*/
49
 
50
#define streq( A, B )	( strcmp ( ( A ), ( B ) ) == 0 )
51
#define array_size( A )	( ( int ) sizeof ( A ) / ( int ) sizeof ( *( A ) ) )
52
 
53
#define fclose_v	IGNORE fclose
54
#define fflush_v	IGNORE fflush
55
#define fprintf_v	IGNORE fprintf
56
#define fputc_v		IGNORE fputc
57
#define fputs_v		IGNORE fputs
58
#define printf_v	IGNORE printf
59
#define putchar_v	IGNORE putchar
60
#define putc_v		IGNORE putc
61
#define puts_v		IGNORE puts
62
#define sprintf_v	IGNORE sprintf
63
#define vfprintf_v	IGNORE vfprintf
64
#define memcpy_v	IGNORE memcpy
65
#define strcpy_v	IGNORE strcpy
66
 
67
 
68
/*
69
    ASSERTION MACROS
70
 
71
    These macros are used in connection with the assertion routines.
72
*/
73
 
74
#ifdef DEBUG
75
#define ASSERTS
76
#endif
77
 
78
#ifndef __FILE__
79
#define __FILE__	"unknown"
80
#endif
81
 
82
#ifndef __LINE__
83
#define __LINE__	0
84
#endif
85
 
86
 
87
#endif