PageRenderTime 106ms CodeModel.GetById 104ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/library/server/fcgi/spec/include/libfcgi/fcgimisc.h

http://github.com/jocelyn/EiffelWebReloaded
C++ Header | 38 lines | 18 code | 7 blank | 13 comment | 0 complexity | 09ac79eea3ff7ae6af12429cde044560 MD5 | raw file
 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.3 2001/06/18 14:25:47 robs 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 */