aboutsummaryrefslogblamecommitdiffstats
path: root/testing/gutenprint/pagesize-name-clash.patch
blob: 932ae2da05b4a411d18974402c12ef78b59fdf3b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                            
diff --git a/src/testpattern/testpatterny.h b/src/testpattern/testpatterny.h
index 010e17a..986d1d7 100644
--- a/src/testpattern/testpatterny.h
+++ b/src/testpattern/testpatterny.h
@@ -36,6 +36,9 @@
 /* Tokens.  */
 #ifndef YYTOKENTYPE
 # define YYTOKENTYPE
+#ifdef PAGESIZE
+#undef PAGESIZE
+#endif
    /* Put the tokens into the symbol table, so that GDB and other debuggers
       know about them.  */
    enum yytokentype {