mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
autoconf: update check for gcc inlines
Old versions of gcc didn't define either __GNUC_STDC_INLINE__ or __GNUC_GNU_INLINE__, but imply the latter. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
parent
8b6e6bf04f
commit
16a3e8ddb9
@ -10,7 +10,7 @@ AC_DEFUN([PA_CHECK_BAD_STDC_INLINE],
|
||||
AC_INCLUDES_DEFAULT
|
||||
|
||||
/* Don't mistake GNU inlines for c99 */
|
||||
#ifdef __GNUC_GNU_INLINE__
|
||||
#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
|
||||
# error "Using gnu inline standard"
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user