Commit 3694b4ab authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(eassert) [!ENABLE_CHECKING]: Define as `(void) 0'.

parent 9af3e742
No preview for this file type
......@@ -69,11 +69,15 @@ extern void die P_((const char *, const char *, int));
/* Define an Emacs version of "assert", since some system ones are
flaky. */
#ifndef ENABLE_CHECKING
#define eassert(X) (void) 0
#else /* ENABLE_CHECKING */
#if defined (__GNUC__) && __GNUC__ >= 2 && defined (__STDC__)
#define eassert(cond) CHECK(cond,"assertion failed: " #cond)
#else
#define eassert(cond) CHECK(cond,"assertion failed")
#endif
#endif /* ENABLE_CHECKING */
/* Define the fundamental Lisp data structures. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment