/* $Id: assert.h,v 1.1.1.1 1998/07/29 15:14:29 proff Exp $ * $Copyright$ */ #ifndef ASSERT_H #define ASSERT_H #define assert(x) \ do\ {\ if (!(x))\ syslog(LOG_ERR, "%s:%d failed assertion: %s\n", __FILE__, __LINE__, #x);\ } while (0) #endif /* ASSERT_H */