Fix a build problem if ENABLE_CHECKING is not defined.
authorEli Schwartz <eschwartz@archlinux.org>
Wed, 19 May 2021 11:08:30 +0000 (12:08 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 19 May 2021 11:08:30 +0000 (12:08 +0100)
* dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.

binutils/ChangeLog
binutils/dwarf.c

index 8373280aaaa6a6f330266ba32b9a567a8d5812e2..1795f4138cab890d67570e513cbfa0b07fb58c52 100644 (file)
@@ -1,3 +1,7 @@
+2021-05-19  Eli Schwartz  <eschwartz@archlinux.org>
+
+       * dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
+
 2021-05-19  Alan Modra  <amodra@gmail.com>
 
        PR 27884
index 6dd98789e2893f9211ed8b698b348fe423c5f6b3..cfc1436df64521d67eabd65c87c4aa9e64b4f871 100644 (file)
 #define CHAR_BIT 8
 #endif
 
+#ifndef ENABLE_CHECKING
+#define ENABLE_CHECKING 0
+#endif
+
 #undef MAX
 #undef MIN
 #define MAX(a, b) ((a) > (b) ? (a) : (b))