Skip to content

Commit e3267b6

Browse files
committed
Properly undef _(x) gettext macro.
1 parent 26b9a28 commit e3267b6

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/pl/plperl/SPI.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* this must be first: */
22
#include "postgres.h"
33
/* Defined by Perl */
4-
#undef _(x)
4+
#undef _
55

66
/* perl stuff */
77
#include "EXTERN.h"

src/pl/plperl/plperl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
* ENHANCEMENTS, OR MODIFICATIONS.
3434
*
3535
* IDENTIFICATION
36-
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.68 2005/02/22 04:42:44 momjian Exp $
36+
* $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.69 2005/02/23 04:34:05 momjian Exp $
3737
*
3838
**********************************************************************/
3939

4040
#include "postgres.h"
4141
/* Defined by Perl */
42-
#undef _(x)
42+
#undef _
4343

4444
/* system stuff */
4545
#include <ctype.h>

src/pl/plperl/spi_internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "postgres.h"
88
/* Defined by Perl */
9-
#undef _(x)
9+
#undef _
1010

1111
#include "spi_internal.h"
1212

src/timezone/private.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/timezone/private.h,v 1.10 2005/02/22 04:43:23 momjian Exp $
9+
* $PostgreSQL: pgsql/src/timezone/private.h,v 1.11 2005/02/23 04:34:21 momjian Exp $
1010
*/
1111

1212
/*
@@ -104,7 +104,7 @@ extern char *scheck(const char *string, const char *format);
104104
((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
105105
#endif /* !defined INT_STRLEN_MAXIMUM */
106106

107-
#undef _(x)
107+
#undef _
108108
#define _(msgid) (msgid)
109109

110110
/*

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