1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-24 16:27:37 +01:00

Fix compiler warnings when UNW_DEBUG is enabled

Newer versions of gcc complain when ALWAYS_INLINE is used without
inline.
This commit is contained in:
Arun Sharma 2014-08-19 07:53:57 -07:00
parent 9e0d6b1e08
commit 4791a76d26

View file

@ -274,10 +274,6 @@ do { \
} \ } \
} while (0) } while (0)
# define Dprintf(format...) fprintf (stderr, format) # define Dprintf(format...) fprintf (stderr, format)
# ifdef __GNUC__
# undef inline
# define inline UNUSED
# endif
#else #else
# define Debug(level,format...) # define Debug(level,format...)
# define Dprintf(format...) # define Dprintf(format...)