Fix compile if zic because it now doesn't use libpgport.

REL8_1_STABLE
Bruce Momjian 21 years ago
parent de5d30069b
commit 4b97d51c0a
  1. 12
      src/timezone/pgtz.h

@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* *
* IDENTIFICATION * 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" #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); extern char *pg_TZDIR(void);
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b)) #define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))

Loading…
Cancel
Save