From f57d833a807aa443a89e54c518a64df1cdecbe77 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 13 Jan 2016 14:10:34 -0800 Subject: Allow inline in sys/sysmacros.h when building glibc --- sysdeps/unix/sysv/linux/sys/sysmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h index 4c4a697..f9e2696 100644 --- a/sysdeps/unix/sysv/linux/sys/sysmacros.h +++ b/sysdeps/unix/sysv/linux/sys/sysmacros.h @@ -34,7 +34,7 @@ extern unsigned long long int gnu_dev_makedev (unsigned int __major, unsigned int __minor) __THROW __attribute_const__; -#ifdef __USE_EXTERN_INLINES +#if defined __USE_EXTERN_INLINES || defined _LIBC __extension__ __extern_inline __attribute_const__ unsigned int __NTH (gnu_dev_major (unsigned long long int __dev)) { -- cgit v1.1