1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

More timezone build adjustments.

This commit is contained in:
Bruce Momjian
2004-04-30 17:52:07 +00:00
parent 46050a3b75
commit 1360fe4096
3 changed files with 4 additions and 8 deletions

View File

@ -4,7 +4,7 @@
# 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 $
#
#-------------------------------------------------------------------------
@ -30,7 +30,7 @@ zic: $(ZICOBJS)
$(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)

View File

@ -88,11 +88,7 @@ static char privatehid[] = "@(#)private.h 7.53";
#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