OSDN Git Service

Properly undef _(x) gettext macro.
authorBruce Momjian <bruce@momjian.us>
Wed, 23 Feb 2005 04:34:21 +0000 (04:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 23 Feb 2005 04:34:21 +0000 (04:34 +0000)
src/pl/plperl/SPI.xs
src/pl/plperl/plperl.c
src/pl/plperl/spi_internal.c
src/timezone/private.h

index de28459..93f7da2 100644 (file)
@@ -1,7 +1,7 @@
 /* this must be first: */
 #include "postgres.h"
 /* Defined by Perl */
-#undef _(x)
+#undef _
 
 /* perl stuff */
 #include "EXTERN.h"
index 75d04ff..620448b 100644 (file)
  *       ENHANCEMENTS, OR MODIFICATIONS.
  *
  * 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"
 /* Defined by Perl */
-#undef _(x)
+#undef _
 
 /* system stuff */
 #include <ctype.h>
index 7e26c5d..c022d7d 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "postgres.h"
 /* Defined by Perl */
-#undef _(x)
+#undef _
 
 #include "spi_internal.h"
 
index 5fc4be2..41df546 100644 (file)
@@ -6,7 +6,7 @@
  * 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
  *
  * 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);
        ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
 #endif   /* !defined INT_STRLEN_MAXIMUM */
 
-#undef _(x)
+#undef _
 #define _(msgid) (msgid)
 
 /*