* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.26 2004/04/30 04:14:05 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.27 2004/04/30 17:52:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
extern struct tm *pg_localtime(const time_t *);
-extern struct tm *gg_gmtime(const time_t *);
+extern struct tm *pg_gmtime(const time_t *);
extern char *pg_asctime(const struct tm *);
extern char *pg_ctime(const time_t *);
extern double pg_difftime(const time_t, const time_t);
# Makefile for the timezone library
# IDENTIFICATION
-# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.4 2004/04/30 16:08:01 momjian Exp $
+# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.5 2004/04/30 17:52:07 momjian Exp $
#
#-------------------------------------------------------------------------
$(CC) $(CFLAGS) $(ZICOBJS) $(LDFLAGS) $(LIBS) -o $@$(X)
install: zic
- zic -d $(datadir)/timezone $(TZDATAFILES)
+ zic -d $(pkglibdir)/../timezone $(TZDATAFILES)
clean distclean maintainer-clean:
rm -f SUBSYS.o $(OBJS) $(ZICOBJS)
#include "errno.h"
#include "string.h"
#include "limits.h" /* for CHAR_BIT */
-#define _timezone timezone
-#undef timezone
#include "time.h"
-#define timezone _timezone
-#undef _timezone
#include "stdlib.h"
#if HAVE_GETTEXT - 0