diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/lisp.h | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 95bfd00b509..cc88f58198a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2000-05-31 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * dispnew.c (find_glyph_row_slice, swap_glyphs_in_rows): Put | ||
| 4 | in #if 0. | ||
| 5 | |||
| 6 | * lisp.h (eassert) [!ENABLE_CHECKING]: Define as `(void) 0'. | ||
| 7 | |||
| 1 | 2000-05-31 Jason Rumney <jasonr@gnu.org> | 8 | 2000-05-31 Jason Rumney <jasonr@gnu.org> |
| 2 | 9 | ||
| 3 | * search.c (Fre_search_forward, Fre_search_backward) | 10 | * search.c (Fre_search_forward, Fre_search_backward) |
diff --git a/src/lisp.h b/src/lisp.h index d4f7aaa981a..8c78ba7edb3 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -69,11 +69,15 @@ extern void die P_((const char *, const char *, int)); | |||
| 69 | 69 | ||
| 70 | /* Define an Emacs version of "assert", since some system ones are | 70 | /* Define an Emacs version of "assert", since some system ones are |
| 71 | flaky. */ | 71 | flaky. */ |
| 72 | #ifndef ENABLE_CHECKING | ||
| 73 | #define eassert(X) (void) 0 | ||
| 74 | #else /* ENABLE_CHECKING */ | ||
| 72 | #if defined (__GNUC__) && __GNUC__ >= 2 && defined (__STDC__) | 75 | #if defined (__GNUC__) && __GNUC__ >= 2 && defined (__STDC__) |
| 73 | #define eassert(cond) CHECK(cond,"assertion failed: " #cond) | 76 | #define eassert(cond) CHECK(cond,"assertion failed: " #cond) |
| 74 | #else | 77 | #else |
| 75 | #define eassert(cond) CHECK(cond,"assertion failed") | 78 | #define eassert(cond) CHECK(cond,"assertion failed") |
| 76 | #endif | 79 | #endif |
| 80 | #endif /* ENABLE_CHECKING */ | ||
| 77 | 81 | ||
| 78 | /* Define the fundamental Lisp data structures. */ | 82 | /* Define the fundamental Lisp data structures. */ |
| 79 | 83 | ||