aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/patches/disable-includes.patch
blob: 6be16cb54e9aeb6f5777ba6761a27ae94407dc4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- contrib/tools/bison/lib/obstack.c	(index)
+++ contrib/tools/bison/lib/obstack.c	(working tree)
@@ -51,10 +51,6 @@
 /* If GCC, or if an oddball (testing?) host that #defines __alignof__,
    use the already-supplied __alignof__.  Otherwise, this must be Gnulib
    (as glibc assumes GCC); defer to Gnulib's alignof_type.  */
-# if !defined __GNUC__ && !defined __alignof__
-#  include <alignof.h>
-#  define __alignof__(type) alignof_type (type)
-# endif
 # include <stdlib.h>
 # include <stdint.h>