diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-12-06 18:35:36 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-12-06 18:35:36 +0000 |
commit | 42860677a486d444b4123da7c453cf79684192f2 (patch) | |
tree | ab8ab616cf1ca4ccc12c895a391f2a582ca51724 /src/include | |
parent | 3482b4597ec0f8119e3e03c37994466102ce6211 (diff) | |
download | postgresql-42860677a486d444b4123da7c453cf79684192f2.tar.gz postgresql-42860677a486d444b4123da7c453cf79684192f2.zip |
Add documentation on the use of *printf() macros and libintl.
Backpatch to 8.1.X.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/port.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/port.h b/src/include/port.h index 9de96f1eaf6..13885c74b76 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.84.2.2 2005/12/06 05:13:56 tgl Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.84.2.3 2005/12/06 18:35:36 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -115,8 +115,9 @@ extern unsigned char pg_tolower(unsigned char ch); #ifdef USE_REPL_SNPRINTF /* - * Some versions of libintl try to replace printf and friends with macros; - * if we are doing likewise, make sure our versions win. + * Versions of libintl >= 0.13 try to replace printf() and friends with + * macros to their own versions that understand the %$ format. We do the + * same, so disable their macros, if they exist. */ #ifdef vsnprintf #undef vsnprintf |