~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to sapi/cgi/libfcgi/include/fcgimisc.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 *
 
12
 * $Id: fcgimisc.h,v 1.1 2002/03/10 21:39:28 shane Exp $
 
13
 */
 
14
 
 
15
#ifndef _FCGIMISC_H
 
16
#define _FCGIMISC_H
 
17
 
 
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
 
35
#define ASSERT(assertion) assert(assertion)
 
36
#endif
 
37
 
 
38
#endif  /* _FCGIMISC_H */