2ba6f6
From 8e8b8814be1a9f8b5b66ca06a602041b05c923df Mon Sep 17 00:00:00 2001
2ba6f6
From: Petr Tesarik <petr@tesarici.cz>
2ba6f6
Date: Sat, 15 Apr 2023 18:02:13 +0200
2ba6f6
Subject: [PATCH 7/7] [PATCH 2/2] eppic: Fix a warning about redefining ERRMSG
2ba6f6
2ba6f6
The macro is redefined on purpose, so let's #undef it first to
2ba6f6
silence the warning.
2ba6f6
2ba6f6
Signed-off-by: Petr Tesarik <petr@tesarici.cz>
2ba6f6
---
2ba6f6
 extension_eppic.h | 1 +
2ba6f6
 1 file changed, 1 insertion(+)
2ba6f6
2ba6f6
diff --git a/makedumpfile-1.7.2/extension_eppic.h b/makedumpfile-1.7.2/extension_eppic.h
2ba6f6
index 24189ba..08f1db0 100644
2ba6f6
--- a/makedumpfile-1.7.2/extension_eppic.h
2ba6f6
+++ b/makedumpfile-1.7.2/extension_eppic.h
2ba6f6
@@ -71,6 +71,7 @@ typedef TYPE_S {
2ba6f6
 	ull rtype;  /* type_t a reference refers too */
2ba6f6
 } type_t;
2ba6f6
 
2ba6f6
+#undef ERRMSG
2ba6f6
 #define ERRMSG(x...) \
2ba6f6
 do { \
2ba6f6
 		fprintf(stderr, __FUNCTION__); \
2ba6f6
-- 
2ba6f6
2.33.1
2ba6f6