aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-07-04 18:21:40 +0000
committerBruce Momjian <bruce@momjian.us>2005-07-04 18:21:40 +0000
commit4b97d51c0a17f8da5335772bc9ee13a4154894fd (patch)
tree81dfda66438e07247773fd6e38771f114c198776 /src
parentde5d30069b6fbe1a513fa8bfcd97ee2b77862142 (diff)
downloadpostgresql-4b97d51c0a17f8da5335772bc9ee13a4154894fd.tar.gz
postgresql-4b97d51c0a17f8da5335772bc9ee13a4154894fd.zip
Fix compile if zic because it now doesn't use libpgport.
Diffstat (limited to 'src')
-rw-r--r--src/timezone/pgtz.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/timezone/pgtz.h b/src/timezone/pgtz.h
index a6e6bbf97f6..3354cfa8c83 100644
--- a/src/timezone/pgtz.h
+++ b/src/timezone/pgtz.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.12 2005/06/15 00:34:11 momjian Exp $
+ * $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.13 2005/07/04 18:21:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,6 +18,16 @@
#include "tzfile.h"
+/*
+ * Prevent the use of /port functions because
+ * the are not included in this binary.
+ */
+#undef vsnprintf
+#undef snprintf
+#undef sprintf
+#undef fprintf
+#undef printf
+
extern char *pg_TZDIR(void);
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))