diff options
| author | Stefan Monnier | 2016-01-10 00:32:13 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2016-01-10 00:32:13 -0500 |
| commit | d2c7fda9654a79423be8320bc2028263aefccced (patch) | |
| tree | e830c4ad53be3b280ebb59cd2cf818d68c77e98d | |
| parent | bd3f53dd2e14b886ec46667a10611c549d4f09be (diff) | |
| download | emacs-d2c7fda9654a79423be8320bc2028263aefccced.tar.gz emacs-d2c7fda9654a79423be8320bc2028263aefccced.zip | |
* src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
| -rw-r--r-- | src/alloc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index e1b0d2e4a60..9d876a51469 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -4607,7 +4607,13 @@ mark_maybe_pointer (void *p) | |||
| 4607 | VALGRIND_MAKE_MEM_DEFINED (&p, sizeof (p)); | 4607 | VALGRIND_MAKE_MEM_DEFINED (&p, sizeof (p)); |
| 4608 | #endif | 4608 | #endif |
| 4609 | 4609 | ||
| 4610 | if (sizeof (Lisp_Object) == sizeof (void *) || !HAVE_MODULES) | 4610 | if ( |
| 4611 | #ifdef HAVE_MODULES | ||
| 4612 | sizeof (Lisp_Object) == sizeof (void *) | ||
| 4613 | #else | ||
| 4614 | true | ||
| 4615 | #endif | ||
| 4616 | ) | ||
| 4611 | { | 4617 | { |
| 4612 | if (!maybe_lisp_pointer (p)) | 4618 | if (!maybe_lisp_pointer (p)) |
| 4613 | return; | 4619 | return; |