mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
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:

committed by
Nick Clifton

parent
83b0a6865c
commit
c485e47599
@ -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>
|
2021-05-19 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
PR 27884
|
PR 27884
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
#define CHAR_BIT 8
|
#define CHAR_BIT 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ENABLE_CHECKING
|
||||||
|
#define ENABLE_CHECKING 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef MAX
|
#undef MAX
|
||||||
#undef MIN
|
#undef MIN
|
||||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||||
|
Reference in New Issue
Block a user