diff options
| author | Paul Eggert | 2014-06-01 23:08:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-06-01 23:08:49 -0700 |
| commit | f34897e34def565eb6e07461549ab2ba2e275e95 (patch) | |
| tree | bc10ac505eaf666c52f1a400e6e9216e1356aa63 /src/conf_post.h | |
| parent | f2ea2ac3f506d14eaaad89b30d315d8bd15b429f (diff) | |
| download | emacs-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/conf_post.h')
| -rw-r--r-- | src/conf_post.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf_post.h b/src/conf_post.h index 9c82d7d2a71..a995acfd915 100644 --- a/src/conf_post.h +++ b/src/conf_post.h | |||
| @@ -309,10 +309,7 @@ extern void _DebPrint (const char *fmt, ...); | |||
| 309 | /* To use the struct hack with N elements, declare the struct like this: | 309 | /* To use the struct hack with N elements, declare the struct like this: |
| 310 | struct s { ...; t name[FLEXIBLE_ARRAY_MEMBER]; }; | 310 | struct s { ...; t name[FLEXIBLE_ARRAY_MEMBER]; }; |
| 311 | and allocate (offsetof (struct s, name) + N * sizeof (t)) bytes. | 311 | and allocate (offsetof (struct s, name) + N * sizeof (t)) bytes. |
| 312 | 312 | IBM xlc 12.1 claims to do C99 but mishandles flexible array members. */ | |
| 313 | This macro used to expand to something different on pre-C99 compilers. | ||
| 314 | IBM xlc 12.1 claims to do C99 but mishandles flexible array members. | ||
| 315 | FIXME: Remove it, and remove all uses. */ | ||
| 316 | #ifdef __IBMC__ | 313 | #ifdef __IBMC__ |
| 317 | # define FLEXIBLE_ARRAY_MEMBER 1 | 314 | # define FLEXIBLE_ARRAY_MEMBER 1 |
| 318 | #else | 315 | #else |