summaryrefslogtreecommitdiff
path: root/src/timezone/localtime.c
diff options
context:
space:
mode:
authorBruce Momjian2004-04-30 04:11:58 +0000
committerBruce Momjian2004-04-30 04:11:58 +0000
commitd248a67af1d849438e146bccd46adb1eb0a9f3b5 (patch)
tree155eaf8c6566e163878f4d9bb6e050587886491c /src/timezone/localtime.c
parent6a2b75c2c88ac583362d8300163fc2332851c6c8 (diff)
Timezone library changes to map into our backend code.
Diffstat (limited to 'src/timezone/localtime.c')
-rw-r--r--src/timezone/localtime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/timezone/localtime.c b/src/timezone/localtime.c
index 33e22a5e205..4f389b52dee 100644
--- a/src/timezone/localtime.c
+++ b/src/timezone/localtime.c
@@ -1,3 +1,8 @@
+#include "pgtz.h"
+#undef open
+#define timezone pg_timezone
+#define USG_COMPAT
+extern time_t pg_timezone;
/*
** This file is in the public domain, so clarified as of
** 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).