diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-14 17:59:57 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-11-14 17:59:57 -0800 |
commit | 1a191e5c73cdae3d3b34f5fc3501bfd2ddf50ec8 (patch) | |
tree | 2a70852978dae7d8adeb0c9bbf633efe347e5a61 /src/lisp.h | |
parent | 8ef7141bbe65aec2eb5313ff19729b67d371c1e6 (diff) | |
download | emacs-1a191e5c73cdae3d3b34f5fc3501bfd2ddf50ec8.tar.gz |
* configure.ac (DEBUGGER_SEES_C_MACROS): New macro.
* src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END):
Define to empty if DEBUGGER_SEES_C_MACROS is defined.
This avoids placing unnecessary constants into the Emacs code.
Diffstat (limited to 'src/lisp.h')
-rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 72e5dad8ca3..3eb31ac34be 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -45,7 +45,7 @@ INLINE_HEADER_BEGIN definitions visible to the debugger. It's used for symbols that .gdbinit needs, symbols whose values may not fit in 'int' (where an enum would suffice). */ -#ifdef MAIN_PROGRAM +#if defined MAIN_PROGRAM && !defined DEBUGGER_SEES_C_MACROS # define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE # define DEFINE_GDB_SYMBOL_END(id) = id; #else |