Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 560960
Collapse All | Expand All

(-)xemacs-21.5.34.orig/src/lisp.h (-1 / +8 lines)
Lines 1154-1159 typedef int Boolint; Link Here
1154
1154
1155
/* ------------------------ alignment definitions ------------------- */
1155
/* ------------------------ alignment definitions ------------------- */
1156
1156
1157
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ < 201112L) || \
1158
    (defined (__cplusplus) && __cplusplus < 201103L)
1157
/* No type has a greater alignment requirement than max_align_t.
1159
/* No type has a greater alignment requirement than max_align_t.
1158
   (except perhaps for types we don't use, like long double) */
1160
   (except perhaps for types we don't use, like long double) */
1159
typedef union
1161
typedef union
Lines 1163-1168 typedef union Link Here
1163
  struct { void (*f)(void); } f;
1165
  struct { void (*f)(void); } f;
1164
  struct { double d; } d;
1166
  struct { double d; } d;
1165
} max_align_t;
1167
} max_align_t;
1168
#endif
1166
1169
1167
/* ALIGNOF returns the required alignment of a type -- i.e. a value such
1170
/* ALIGNOF returns the required alignment of a type -- i.e. a value such
1168
   that data of this type must begin at a memory address which is a
1171
   that data of this type must begin at a memory address which is a
Lines 1170-1176 typedef union Link Here
1170
   as the type itself. */
1173
   as the type itself. */
1171
1174
1172
#ifndef ALIGNOF
1175
#ifndef ALIGNOF
1173
# if defined (__GNUC__) && (__GNUC__ >= 2)
1176
# if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
1177
#   define ALIGNOF(type) _Alignof(type)
1178
# elif defined (__cplusplus) && __cplusplus >= 201103L
1179
#  define ALIGNOF(type) alignof(type)
1180
# elif defined (__GNUC__) && (__GNUC__ >= 2)
1174
/* gcc has an extension that gives us exactly what we want. */
1181
/* gcc has an extension that gives us exactly what we want. */
1175
#  define ALIGNOF(type) __alignof__ (type)
1182
#  define ALIGNOF(type) __alignof__ (type)
1176
# elif ! defined (__cplusplus)
1183
# elif ! defined (__cplusplus)

Return to bug 560960