Skip to content

Commit 4a0c90a

Browse files
committed
[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)
1 parent 15b1ad7 commit 4a0c90a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/pg_probackup.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@
5050
#include <pthread.h>
5151
#endif
5252

53-
#if PG_VERSION_NUM >= 150000
54-
// _() is explicitly undefined in libpq-int.h
55-
// https://github.com/postgres/postgres/commit/28ec316787674dd74d00b296724a009b6edc2fb0
56-
#define _(s) gettext(s)
57-
#endif
58-
5953
/* Wrap the code that we're going to delete after refactoring in this define*/
6054
#define REFACTORE_ME
6155

0 commit comments

Comments
 (0)