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

Commit7d6f37b

Browse files
committed
Enable use of our own timezone library for Win32.
1 parent4a73eb5 commit7d6f37b

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

‎configure

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12012,7 +12012,12 @@ LIBOBJS="$LIBOBJS copydir.$ac_objext"
1201212012
LIBOBJS="$LIBOBJS gettimeofday.$ac_objext"
1201312013
LIBOBJS="$LIBOBJS open.$ac_objext"
1201412014
LIBOBJS="$LIBOBJS pipe.$ac_objext"
12015-
LIBOBJS="$LIBOBJS rand.$ac_objext" ;;
12015+
LIBOBJS="$LIBOBJS rand.$ac_objext"
12016+
12017+
cat >>confdefs.h <<\_ACEOF
12018+
#define PGTZ 1
12019+
_ACEOF
12020+
;;
1201612021
esac
1201712022

1201812023
# Win32 can't to rename or unlink on an open file

‎configure.in

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.339 2004/04/27 20:09:27 momjian Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.340 2004/04/30 04:18:28 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -893,7 +893,9 @@ AC_LIBOBJ(copydir)
893893
AC_LIBOBJ(gettimeofday)
894894
AC_LIBOBJ(open)
895895
AC_LIBOBJ(pipe)
896-
AC_LIBOBJ(rand) ;;
896+
AC_LIBOBJ(rand)
897+
AC_DEFINE(PGTZ, 1,
898+
[Define to 1 to use our own timezone library]) ;;
897899
esac
898900

899901
# Win32 can't to rename or unlink on an open file

‎src/include/pg_config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,9 @@
575575
/* Define to the version of this package. */
576576
#undef PACKAGE_VERSION
577577

578+
/* Define to 1 to use our own timezone library */
579+
#undef PGTZ
580+
578581
/* Define to the name of the PostgreSQL service principal in Kerberos.
579582
(--with-krb-srvnam=NAME) */
580583
#undef PG_KRB_SRVNAM

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp