Debian Codegraph @

xpa/prsetup.h

raw symbols SCIP
1 /*
2 * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
3 */
4
5 /* prsetup.h -- define variables for ANSI prototyping */
6
7 #ifndef _prsetup
8 #define _prsetup
9
10 #ifdef NO_ANSI_FUNC
11 #define _PRbeg
12 #define _PRend
13 #define _PRx(s) ()
14 #ifdef ANSI_FUNC
15 #undef ANSI_FUNC
16 #endif
17 #else
18 #if defined(__cplusplus) || defined(c_plusplus)
19 #define _PRbeg extern "C" { /* do not leave open across includes */
20 #define _PRend }
21 #define _PRx(s) s
22 #define ANSI_FUNC 1
23 #else
24 #if defined(__STDC__)
25 #define _PRbeg
26 #define _PRend
27 #define _PRx(s) s
28 #define ANSI_FUNC 1
29 #else
30 #define _PRbeg
31 #define _PRend
32 #define _PRx(s) ()
33 #ifdef ANSI_FUNC
34 #undef ANSI_FUNC
35 #endif
36 #endif
37 #endif
38 #endif
39
40 /* the ever-present */
41 #ifndef SZ_LINE
42 #define SZ_LINE 4096
43 #endif
44
45 #ifndef MIN
46 #define MIN(a,b) (((a)<(b))?(a):(b))
47 #endif
48
49 #ifndef MAX
50 #define MAX(a,b) (((a)>(b))?(a):(b))
51 #endif
52
53 #ifndef ABS
54 #define ABS(x) ((x)<0?(-x):(x))
55 #endif
56
57 #endif
58