Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1360fe4

Browse files
committed
More timezone build adjustments.
1 parent46050a3 commit1360fe4

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/3004:14:05 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.27 2004/04/3017:52:07 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -201,7 +201,7 @@ extern int pqGethostbyname(const char *name,
201201

202202

203203
externstructtm*pg_localtime(consttime_t*);
204-
externstructtm*gg_gmtime(consttime_t*);
204+
externstructtm*pg_gmtime(consttime_t*);
205205
externchar*pg_asctime(conststructtm*);
206206
externchar*pg_ctime(consttime_t*);
207207
externdoublepg_difftime(consttime_t,consttime_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/3016:08:01 momjian Exp $
7+
# $PostgreSQL: pgsql/src/timezone/Makefile,v 1.5 2004/04/3017: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
cleandistcleanmaintainer-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 charprivatehid[] = "@(#)private.h7.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-
#definetimezone _timezone
95-
#undef _timezone
9692
#include"stdlib.h"
9793

9894
#ifHAVE_GETTEXT-0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp