aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert2014-06-01 23:08:49 -0700
committerPaul Eggert2014-06-01 23:08:49 -0700
commitf34897e34def565eb6e07461549ab2ba2e275e95 (patch)
treebc10ac505eaf666c52f1a400e6e9216e1356aa63 /src/lisp.h
parentf2ea2ac3f506d14eaaad89b30d315d8bd15b429f (diff)
downloademacs-f34897e34def565eb6e07461549ab2ba2e275e95.tar.gz
emacs-f34897e34def565eb6e07461549ab2ba2e275e95.zip
Improve AIX-related merge from emacs-24.
* conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment. * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're not on AIX; since we're on the trunk we can use enums more broadly.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 028abe350c3..6d397169e87 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -59,16 +59,6 @@ INLINE_HEADER_BEGIN
59# define ENUMABLE(val) 0 59# define ENUMABLE(val) 0
60#endif 60#endif
61 61
62/* On AIX 7.1 ENUMABLE should return true when possible, otherwise the
63 linker can optimize the symbols away, making it harder to debug.
64 This was discovered only late in the release process, so to play it
65 safe for now, non-AIX platforms do not use enums for debugging symbols.
66 FIXME: remove this comment and the following four lines of code. */
67#ifndef _AIX
68# undef ENUMABLE
69# define ENUMABLE(val) 0
70#endif
71
72#define DEFINE_GDB_SYMBOL_ENUM(id) enum { id = id##_val }; 62#define DEFINE_GDB_SYMBOL_ENUM(id) enum { id = id##_val };
73#if defined MAIN_PROGRAM 63#if defined MAIN_PROGRAM
74# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE 64# define DEFINE_GDB_SYMBOL_BEGIN(type, id) type const id EXTERNALLY_VISIBLE