aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/patches/disable-includes.patch
blob: 3650e4adcaeebed6eb24dc229c6f0dc70675290a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/lib/obstack.c	(index)
+++ b/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>