diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-01-13 14:10:34 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-01-15 08:43:07 -0800 |
commit | f57d833a807aa443a89e54c518a64df1cdecbe77 (patch) | |
tree | eb8ef7fb7f3bf4884283decdbe3893db7400e552 | |
parent | ff10fdd4ef0df890c7fc55d2b3ee485adf3424fa (diff) | |
download | glibc-f57d833a807aa443a89e54c518a64df1cdecbe77.tar.gz glibc-f57d833a807aa443a89e54c518a64df1cdecbe77.tar.xz glibc-f57d833a807aa443a89e54c518a64df1cdecbe77.zip |
Allow inline in sys/sysmacros.h when building glibc
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/sysmacros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h index 4c4a6978b5..f9e26964b3 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)) { |