/* $Id: assert.h,v 1.1.1.1 1998/08/19 11:09:27 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);\ ncExit(-1);\ }\ } while (0) #endif /* ASSERT_H */