Fix a build problem if ENABLE_CHECKING is not defined.

* dwarf.c (ENABLE_CHECKING): Define to 0 if not previously set.
This commit is contained in:
Eli Schwartz
2021-05-19 12:08:30 +01:00
committed by Nick Clifton
parent 83b0a6865c
commit c485e47599
2 changed files with 8 additions and 0 deletions

View File

@ -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))