projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
565440f
)
Fix for Win32 build failure caused by the byacc to bison switch.
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 16 Feb 2004 20:27:40 +0000
(20:27 +0000)
committer
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Mon, 16 Feb 2004 20:27:40 +0000
(20:27 +0000)
p4raw-id: //depot/perl@22313
perl.h
patch
|
blob
|
history
diff --git
a/perl.h
b/perl.h
index
83d8533
..
ca0737c
100644
(file)
--- a/
perl.h
+++ b/
perl.h
@@
-3273,6
+3273,13
@@
END_EXTERN_C
#endif
#endif
+/* Win32 defines a type 'WORD' in windef.h. This conflicts with the enumerator
+ * 'WORD' defined in perly.h. The yytokentype enum is only a debugging aid, so
+ * it's not really needed.
+ */
+#if defined(WIN32)
+# define YYTOKENTYPE
+#endif
#include "perly.h"
#define LEX_NOTPARSING 11 /* borrowed from toke.c */