aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-01-13 14:10:34 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-01-15 08:43:07 -0800
commitf57d833a807aa443a89e54c518a64df1cdecbe77 (patch)
treeeb8ef7fb7f3bf4884283decdbe3893db7400e552
parentff10fdd4ef0df890c7fc55d2b3ee485adf3424fa (diff)
downloadtermbaud-f57d833a807aa443a89e54c518a64df1cdecbe77.tar.gz
termbaud-f57d833a807aa443a89e54c518a64df1cdecbe77.tar.xz
termbaud-f57d833a807aa443a89e54c518a64df1cdecbe77.zip
Allow inline in sys/sysmacros.h when building glibc
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysmacros.h2
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 4c4a6978b51..f9e26964b3b 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))
{