src/libgcc/dll_math.c:63: warning: "CHAR_BIT" redefined
 #define CHAR_BIT __CHAR_BIT__

In file included from src/libgcc/dll_math.c:59:
.../include/limits.h:22: note: this is the location of the previous definition
 #define CHAR_BIT 8
---
 mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c 
b/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
index fe2ae36f8a19..8b9ffaf0c238 100644
--- a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
+++ b/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
@@ -60,7 +60,9 @@
 typedef long long quad_t;
 typedef unsigned long long u_quad_t;
 typedef unsigned long u_long;
+#ifndef CHAR_BIT
 #define CHAR_BIT __CHAR_BIT__
+#endif
 
 /*
  * Define the order of 32-bit words in 64-bit words.
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to