summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2005-07-04 19:54:51 +0000
committerBruce Momjian2005-07-04 19:54:51 +0000
commit4f979e8bacbfd29db2a1ed8bd75f7527858e48c4 (patch)
tree2428067cd6e2ae8c0a8f965abaaef07bb6c34c84 /src/include
parent8a794511520b55852ba4184449a0b67f8be6bcbd (diff)
Restructure zic #define fprintf checks to use a NO_PGPORT macro instead.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 61b566d4021..e352ef2d0b1 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.76 2005/06/27 02:04:25 neilc Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.77 2005/07/04 19:54:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -108,7 +108,7 @@ extern int pg_strncasecmp(const char *s1, const char *s2, size_t n);
extern unsigned char pg_toupper(unsigned char ch);
extern unsigned char pg_tolower(unsigned char ch);
-#ifdef USE_SNPRINTF
+#if defined(USE_SNPRINTF) && !defined(NO_PGPORT)
extern int pg_vsnprintf(char *str, size_t count, const char *fmt, va_list args);
extern int pg_snprintf(char *str, size_t count, const char *fmt,...)
/* This extension allows gcc to check the format string */