mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +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
|
AC_INCLUDES_DEFAULT
|
||||||
|
|
||||||
/* Don't mistake GNU inlines for c99 */
|
/* Don't mistake GNU inlines for c99 */
|
||||||
#ifdef __GNUC_GNU_INLINE__
|
#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__)
|
||||||
# error "Using gnu inline standard"
|
# error "Using gnu inline standard"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user