File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 66 * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
77 * Portions Copyright (c) 1994, Regents of the University of California
88 *
9- * $PostgreSQL: pgsql/src/include/port.h,v 1.26 2004/04/30 04:14:05 momjian Exp $
9+ * $PostgreSQL: pgsql/src/include/port.h,v 1.27 2004/04/30 17:52:07 momjian Exp $
1010 *
1111 *-------------------------------------------------------------------------
1212 */
@@ -201,7 +201,7 @@ extern int pqGethostbyname(const char *name,
201201
202202
203203extern struct tm *pg_localtime (const time_t * );
204- extern struct tm * gg_gmtime (const time_t * );
204+ extern struct tm * pg_gmtime (const time_t * );
205205extern char * pg_asctime (const struct tm * );
206206extern char * pg_ctime (const time_t * );
207207extern double pg_difftime (const time_t , const time_t );
Original file line number Diff line number Diff line change 44# Makefile for the timezone library
55
66# IDENTIFICATION
7- # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.4 2004/04/30 16:08:01 momjian Exp $
7+ # $PostgreSQL: pgsql/src/timezone/Makefile,v 1.5 2004/04/30 17:52:07 momjian Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -30,7 +30,7 @@ zic: $(ZICOBJS)
3030 $(CC ) $(CFLAGS ) $(ZICOBJS ) $(LDFLAGS ) $(LIBS ) -o $@ $(X )
3131
3232install : zic
33- zic -d $(datadir ) /timezone $(TZDATAFILES )
33+ zic -d $(pkglibdir ) /.. /timezone $(TZDATAFILES )
3434
3535clean distclean maintainer-clean :
3636 rm -f SUBSYS.o $(OBJS ) $(ZICOBJS )
Original file line number Diff line number Diff line change @@ -88,11 +88,7 @@ static char privatehid[] = "@(#)private.h 7.53";
8888#include "errno.h"
8989#include "string.h"
9090#include "limits.h" /* for CHAR_BIT */
91- #define _timezone timezone
92- #undef timezone
9391#include "time.h"
94- #define timezone _timezone
95- #undef _timezone
9692#include "stdlib.h"
9793
9894#if HAVE_GETTEXT - 0
You can’t perform that action at this time.
0 commit comments