comparison src/common.h @ 250:93d5d8b098da noffle

[svn] *** empty log message ***
author mirkol
date Wed, 05 Jun 2002 23:03:44 +0100
parents 32ba1198c6fa
children 21300895412f
comparison
equal deleted inserted replaced
249:0340b9c17edc 250:93d5d8b098da
1 /* 1 /*
2 common.h 2 common.h
3 3
4 Common declarations. 4 Common declarations.
5 5
6 $Id: common.h 51 2000-05-05 23:49:38Z uh1763 $ 6 $Id: common.h 382 2002-06-05 22:03:44Z mirkol $
7 */ 7 */
8 8
9 #ifndef COMMON_H 9 #ifndef COMMON_H
10 #define COMMON_H 10 #define COMMON_H
11 11
18 #include <string.h> 18 #include <string.h>
19 19
20 #define FALSE 0 20 #define FALSE 0
21 #define TRUE !0 21 #define TRUE !0
22 #define MAXCHAR 2048 22 #define MAXCHAR 2048
23 /* limited sscanf() format string: */
24 #define MAXCHAR_FMT "%2048s"
23 25
24 #ifdef DEBUG 26 #ifdef DEBUG
25 #include <assert.h> 27 #include <assert.h>
26 #define ASSERT( x ) \ 28 #define ASSERT( x ) \
27 if ( ! ( x ) ) \ 29 if ( ! ( x ) ) \