diff options
Diffstat (limited to 'bfd/libbfd-in.h')
-rw-r--r-- | bfd/libbfd-in.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h index 95399dc..86e6942 100644 --- a/bfd/libbfd-in.h +++ b/bfd/libbfd-in.h @@ -595,10 +595,10 @@ void bfd_assert (const char*,int); #define BFD_ASSERT(x) \ - { if (!(x)) bfd_assert(__FILE__,__LINE__); } + do { if (!(x)) bfd_assert(__FILE__,__LINE__); } while (0) #define BFD_FAIL() \ - { bfd_assert(__FILE__,__LINE__); } + do { bfd_assert(__FILE__,__LINE__); } while (0) extern void _bfd_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; |