From 4a0c90aab510620e9aa02b433bc7ff9c13929b71 Mon Sep 17 00:00:00 2001 From: Vyacheslav Makarov Date: Tue, 27 Sep 2022 14:18:00 +0300 Subject: [PATCH] [PGPRO-6676]: correction of the warning src/pg_probackup.h:56: warning: "_" redefined 56 | #define _(s) gettext(s) ../../src/include/c.h:1233: note: this is the location of the previous definition 1233 | #define _(x) gettext(x) --- src/pg_probackup.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pg_probackup.h b/src/pg_probackup.h index 533b05d58..1885a191e 100644 --- a/src/pg_probackup.h +++ b/src/pg_probackup.h @@ -50,12 +50,6 @@ #include #endif -#if PG_VERSION_NUM >= 150000 -// _() is explicitly undefined in libpq-int.h -// https://github.com/postgres/postgres/commit/28ec316787674dd74d00b296724a009b6edc2fb0 -#define _(s) gettext(s) -#endif - /* Wrap the code that we're going to delete after refactoring in this define*/ #define REFACTORE_ME