aboutsummaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-05-19 12:08:30 +0100
committerNick Clifton <nickc@redhat.com>2021-05-19 12:08:30 +0100
commitc485e4759929a9f64d36b49600626bd912dcf335 (patch)
tree64c3d158615c1d8ee530fbb1e82ddec32b8b5b44 /binutils/dwarf.c
parent83b0a6865c081de2f6e8f56870d832b9fb65edde (diff)
downloadgdb-c485e4759929a9f64d36b49600626bd912dcf335.zip
gdb-c485e4759929a9f64d36b49600626bd912dcf335.tar.gz
gdb-c485e4759929a9f64d36b49600626bd912dcf335.tar.bz2
Fix a build problem if ENABLE_CHECKING is not defined.
* dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
Diffstat (limited to 'binutils/dwarf.c')
-rw-r--r--binutils/dwarf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 6dd9878..cfc1436 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -41,6 +41,10 @@
#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))