SHA256
1
0
forked from pool/xemacs
xemacs/xemacs-21.5.34-gcc5.patch
2015-06-24 06:52:44 +00:00

26 lines
839 B
Diff

---
src/lisp.h | 2 ++
1 file changed, 2 insertions(+)
Index: src/lisp.h
===================================================================
--- src/lisp.h.orig
+++ src/lisp.h
@@ -1154,6 +1154,8 @@ typedef int Boolint;
/* ------------------------ alignment definitions ------------------- */
+#if (!defined (__STDC_VERSION__) || __STDC_VERSION__ < 201112L) && \
+ (!defined (__cplusplus) || __cplusplus < 201103L)
/* No type has a greater alignment requirement than max_align_t.
(except perhaps for types we don't use, like long double) */
typedef union
@@ -1163,6 +1165,7 @@ typedef union
struct { void (*f)(void); } f;
struct { double d; } d;
} max_align_t;
+#endif
/* ALIGNOF returns the required alignment of a type -- i.e. a value such
that data of this type must begin at a memory address which is a