summaryrefslogtreecommitdiff
path: root/src/timezone/pgtz.h
diff options
context:
space:
mode:
authorTom Lane2004-05-21 05:08:06 +0000
committerTom Lane2004-05-21 05:08:06 +0000
commit63bd0db12199c5df043e1dea0f2b574f622b3a4c (patch)
treedbafdb6e4541162ad369dbfeca24cbd62aefddcc /src/timezone/pgtz.h
parent260b513fc37b6ed2df51586c487d0832b89d0d70 (diff)
Integrate src/timezone library for all platforms. There is more we can
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
Diffstat (limited to 'src/timezone/pgtz.h')
-rw-r--r--src/timezone/pgtz.h29
1 files changed, 20 insertions, 9 deletions
diff --git a/src/timezone/pgtz.h b/src/timezone/pgtz.h
index 7129bff6ea3..09da7ab180a 100644
--- a/src/timezone/pgtz.h
+++ b/src/timezone/pgtz.h
@@ -1,12 +1,23 @@
-#include "postgres.h"
-#include "miscadmin.h"
+/*-------------------------------------------------------------------------
+ *
+ * pgtz.h
+ * Timezone Library Integration Functions
+ *
+ * Note: this file contains only definitions that are private to the
+ * timezone library. Public definitions are in pgtime.h.
+ *
+ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
+ *
+ * IDENTIFICATION
+ * $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.7 2004/05/21 05:08:06 tgl Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef _PGTZ_H
+#define _PGTZ_H
-#ifndef HAVE_SYMLINK
-#define HAVE_SYMLINK 0
-#endif
+#define TZ_STRLEN_MAX 255
+extern char *pg_TZDIR(void);
-#define NOID
-#define TZDIR pg_TZDIR()
-
-char *pg_TZDIR(void);
+#endif /* _PGTZ_H */