From 806c756a2d2dd7701f57eb7eb5c417c98a62a518 Mon Sep 17 00:00:00 2001
From: Gunter Knauf <gk@gknw.de>
Date: Tue, 22 Jun 2004 23:04:57 +0000
Subject: [PATCH] syncronized with recent getdate.y updates.

---
 lib/getdate.c.cvs | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/getdate.c.cvs b/lib/getdate.c.cvs
index 594ae81a35..48dff2329b 100644
--- a/lib/getdate.c.cvs
+++ b/lib/getdate.c.cvs
@@ -47,6 +47,11 @@
 #define YYDEBUG 0
 #endif
 
+#ifndef YYSTACK_USE_ALLOCA
+  /* to satisfy gcc -Wundef, we set this to 0 */
+#define YYSTACK_USE_ALLOCA 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
@@ -1758,7 +1763,7 @@ ToHour (Hours, Meridian)
     default:
       abort ();
     }
-  /* NOTREACHED */
+  /* NOTREACHED - but make gcc happy! */
 }
 
 static int
-- 
GitLab