summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2017-03-24 12:54:04 +0200
committerPanu Matilainen <pmatilai@redhat.com>2017-03-24 12:54:04 +0200
commitf493dfdeb49213cca4b22d33f2653d7dcb43b244 (patch)
treed847ae1ce3599ad7e0964211241925a34690cf3c
parenta0c138592d507a34511c3d18ce6955b781096c89 (diff)
downloadrpm-f493dfdeb49213cca4b22d33f2653d7dcb43b244.tar.gz
Eliminate warning from '_' being redefined in sepdebugcrcfix.c
Exposed by commit cf6c87997f199b7681934b5d7c524bfff178b848 which includes system.h which includes the NLS stuff.
-rw-r--r--tools/sepdebugcrcfix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/sepdebugcrcfix.c b/tools/sepdebugcrcfix.c
index fab26c7fa..b85434eb7 100644
--- a/tools/sepdebugcrcfix.c
+++ b/tools/sepdebugcrcfix.c
@@ -33,7 +33,9 @@
#include <libelf.h>
#include <gelf.h>
+#ifndef _
#define _(x) x
+#endif
#define static_assert(expr) \
extern int never_defined_just_used_for_checking[(expr) ? 1 : -1]
#ifndef min