Commit e3267b65 authored by Bruce Momjian's avatar Bruce Momjian

Properly undef _(x) gettext macro.

parent 26b9a286
/* this must be first: */ /* this must be first: */
#include "postgres.h" #include "postgres.h"
/* Defined by Perl */ /* Defined by Perl */
#undef _(x) #undef _
/* perl stuff */ /* perl stuff */
#include "EXTERN.h" #include "EXTERN.h"
......
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.68 2005/02/22 04:42:44 momjian Exp $ * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.69 2005/02/23 04:34:05 momjian Exp $
* *
**********************************************************************/ **********************************************************************/
#include "postgres.h" #include "postgres.h"
/* Defined by Perl */ /* Defined by Perl */
#undef _(x) #undef _
/* system stuff */ /* system stuff */
#include <ctype.h> #include <ctype.h>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include "postgres.h" #include "postgres.h"
/* Defined by Perl */ /* Defined by Perl */
#undef _(x) #undef _
#include "spi_internal.h" #include "spi_internal.h"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov). * 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/timezone/private.h,v 1.10 2005/02/22 04:43:23 momjian Exp $ * $PostgreSQL: pgsql/src/timezone/private.h,v 1.11 2005/02/23 04:34:21 momjian Exp $
*/ */
/* /*
...@@ -104,7 +104,7 @@ extern char *scheck(const char *string, const char *format); ...@@ -104,7 +104,7 @@ extern char *scheck(const char *string, const char *format);
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type)) ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
#endif /* !defined INT_STRLEN_MAXIMUM */ #endif /* !defined INT_STRLEN_MAXIMUM */
#undef _(x) #undef _
#define _(msgid) (msgid) #define _(msgid) (msgid)
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment