]> Dogcows Code - chaz/tar/commitdiff
import from gnulib
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jan 2003 21:06:49 +0000 (21:06 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 10 Jan 2003 21:06:49 +0000 (21:06 +0000)
lib/getdate.y

index 289f8121e6735b61d84049d23f9f371d5f463f47..3c4a04000f676a754aa9a15580d7a16fc76bb694 100644 (file)
@@ -1,6 +1,6 @@
 %{
 /* Parse a string into an internal time stamp.
-   Copyright 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #ifdef HAVE_CONFIG_H
 # include <config.h>
-# ifdef HAVE_ALLOCA_H
-#  include <alloca.h>
-# endif
 #endif
 
+#include <alloca.h>
+
 /* 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
@@ -908,7 +907,7 @@ get_date (const char *p, const time_t *now)
   pc.local_zones_seen = 0;
   pc.zones_seen = 0;
 
-#if HAVE_TM_ZONE
+#if HAVE_STRUCT_TM_TM_ZONE
   pc.local_time_zone_table[0].name = tmp->tm_zone;
   pc.local_time_zone_table[0].type = tLOCAL_ZONE;
   pc.local_time_zone_table[0].value = tmp->tm_isdst;
This page took 0.019586 seconds and 4 git commands to generate.