diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-05-19 12:08:30 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-05-19 12:08:30 +0100 |
commit | c485e4759929a9f64d36b49600626bd912dcf335 (patch) | |
tree | 64c3d158615c1d8ee530fbb1e82ddec32b8b5b44 /binutils/dwarf.c | |
parent | 83b0a6865c081de2f6e8f56870d832b9fb65edde (diff) | |
download | gdb-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.c | 4 |
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)) |