4 Copyright 1995 Philip Homburg
11 void bad_assertion(char *file
, int line
, char *what
) _NORETURN
;
12 void bad_compare(char *file
, int line
, int lhs
, char *what
, int rhs
) _NORETURN
;
14 #define assert(x) ((void)(!(x) ? bad_assertion(this_file, __LINE__, \
16 #define compare(a,t,b) (!((a) t (b)) ? bad_compare(this_file, __LINE__, \
17 (a), #a " " #t " " #b, (b)) : (void) 0)
22 #define compare(a,t,b) 0
26 #endif /* INET_ASSERT_H */
30 * $PchId: assert.h,v 1.8 2002/03/18 21:50:32 philip Exp $