Skip to content

Commit 4b97d51

Browse files
committed
Fix compile if zic because it now doesn't use libpgport.
1 parent de5d300 commit 4b97d51

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/timezone/pgtz.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.12 2005/06/15 00:34:11 momjian Exp $
12+
* $PostgreSQL: pgsql/src/timezone/pgtz.h,v 1.13 2005/07/04 18:21:40 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -18,6 +18,16 @@
1818

1919
#include "tzfile.h"
2020

21+
/*
22+
* Prevent the use of /port functions because
23+
* the are not included in this binary.
24+
*/
25+
#undef vsnprintf
26+
#undef snprintf
27+
#undef sprintf
28+
#undef fprintf
29+
#undef printf
30+
2131
extern char *pg_TZDIR(void);
2232

2333
#define BIGGEST(a, b) (((a) > (b)) ? (a) : (b))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy