mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
39 lines
590 B
C
39 lines
590 B
C
|
/*
|
||
|
* fcgimisc.h --
|
||
|
*
|
||
|
* Miscellaneous definitions
|
||
|
*
|
||
|
*
|
||
|
* Copyright (c) 1996 Open Market, Inc.
|
||
|
*
|
||
|
* See the file "LICENSE.TERMS" for information on usage and redistribution
|
||
|
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||
|
*
|
||
|
* $Id$
|
||
|
*/
|
||
|
|
||
|
#ifndef _FCGIMISC_H
|
||
|
#define _FCGIMISC_H
|
||
|
|
||
|
#ifndef FALSE
|
||
|
#define FALSE (0)
|
||
|
#endif
|
||
|
|
||
|
#ifndef TRUE
|
||
|
#define TRUE (1)
|
||
|
#endif
|
||
|
|
||
|
#ifndef min
|
||
|
#define min(a,b) ((a) < (b) ? (a) : (b))
|
||
|
#endif
|
||
|
|
||
|
#ifndef max
|
||
|
#define max(a,b) ((a) > (b) ? (a) : (b))
|
||
|
#endif
|
||
|
|
||
|
#ifndef ASSERT
|
||
|
#define ASSERT(assertion) assert(assertion)
|
||
|
#endif
|
||
|
|
||
|
#endif /* _FCGIMISC_H */
|