assert.h 300 B

1234567891011
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #ifndef NDEBUG
  7. #define assert(x) if (!(x)) badassertion("x",__FILE__,__LINE__)
  8. #else
  9. #define assert(x) /* nothing */
  10. #endif