diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-06-22 07:27:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-06-22 07:27:43 +0000 |
commit | 44d9a8ba4ed566939d3f21024ca1b5f271b03677 (patch) | |
tree | 766def0dea255706738f7c94e8c8ca97fe26cf18 /lib | |
parent | 38dc548a87534b9b3e0c862e39716d3188b70f88 (diff) |
Gunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
several platforms/compilers/yacc versions.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getdate.y | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y index 291b62990..68d0ce60b 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -26,6 +26,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 |