Commit | Line | Data |
0198fd3c |
1 | /* |
2 | * fcgimisc.h -- |
3 | * |
4 | * Miscellaneous definitions |
5 | * |
6 | * |
7 | * Copyright (c) 1996 Open Market, Inc. |
8 | * |
9 | * See the file "LICENSE.TERMS" for information on usage and redistribution |
10 | * of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
11 | * |
ed737255 |
12 | * $Id: fcgimisc.h,v 1.3 2001/06/18 14:25:47 robs Exp $ |
0198fd3c |
13 | */ |
14 | |
15 | #ifndef _FCGIMISC_H |
16 | #define _FCGIMISC_H |
17 | |
0198fd3c |
18 | #ifndef FALSE |
19 | #define FALSE (0) |
20 | #endif |
21 | |
22 | #ifndef TRUE |
23 | #define TRUE (1) |
24 | #endif |
25 | |
26 | #ifndef min |
27 | #define min(a,b) ((a) < (b) ? (a) : (b)) |
28 | #endif |
29 | |
30 | #ifndef max |
31 | #define max(a,b) ((a) > (b) ? (a) : (b)) |
32 | #endif |
33 | |
34 | #ifndef ASSERT |
f3804d07 |
35 | #define ASSERT(assertion) assert(assertion) |
0198fd3c |
36 | #endif |
37 | |
38 | #endif /* _FCGIMISC_H */ |