mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
tzn undeclared in FreeBSD, commented out.
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: nabstime.c,v 1.48 1998/12/14 08:11:12 scrappy Exp $
|
* $Id: nabstime.c,v 1.49 1998/12/15 15:10:03 vadim Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -71,8 +71,11 @@ GetCurrentAbsoluteTime(void)
|
|||||||
strftime(CTZName, MAXTZLEN, "%Z", tm);
|
strftime(CTZName, MAXTZLEN, "%Z", tm);
|
||||||
#endif
|
#endif
|
||||||
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
|
/* XXX FreeBSD man pages indicate that this should work - thomas 1998-12-12 */
|
||||||
|
/* tzn isn't defined !!! - vadim 15-12-1998 */
|
||||||
|
#if 0
|
||||||
if (tzn != NULL)
|
if (tzn != NULL)
|
||||||
strcpy(tzn, tm->tm_zone);
|
strcpy(tzn, tm->tm_zone);
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif defined(HAVE_INT_TIMEZONE)
|
#elif defined(HAVE_INT_TIMEZONE)
|
||||||
tm = localtime(&now);
|
tm = localtime(&now);
|
||||||
|
Reference in New Issue
Block a user