Skip to content

Commit 1360fe4

Browse files
committed
More timezone build adjustments.
1 parent 46050a3 commit 1360fe4

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/include/port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
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

203203
extern 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 *);
205205
extern char *pg_asctime(const struct tm *);
206206
extern char *pg_ctime(const time_t *);
207207
extern double pg_difftime(const time_t, const time_t);

src/timezone/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
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

3232
install: zic
33-
zic -d $(datadir)/timezone $(TZDATAFILES)
33+
zic -d $(pkglibdir)/../timezone $(TZDATAFILES)
3434

3535
clean distclean maintainer-clean:
3636
rm -f SUBSYS.o $(OBJS) $(ZICOBJS)

src/timezone/private.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy