aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getdate.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index 8afd6fa9c..6e81d3b3b 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -21,6 +21,11 @@
# endif
#endif
+#ifndef YYDEBUG
+ /* to satisfy gcc -Wundef, we set this to 0 */
+#define YYDEBUG 0
+#endif
+
/* Since the code of getdate.y is not included in the Emacs executable
itself, there is no need to #define static in this file. Even if
the code were included in the Emacs executable, it probably