about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys/sysmacros.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-11 21:13:25 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-11 21:13:25 +0000
commit6a57d93130924487bd58b3d80dabd421d4fbbe4f (patch)
treee10ddd2b9ab102398e117e683fb6dcac1c96fa32 /sysdeps/unix/sysv/linux/sys/sysmacros.h
parent0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5 (diff)
downloadglibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.gz
glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.xz
glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.zip
Remove __GLIBC_HAVE_LONG_LONG.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys/sysmacros.h')
-rw-r--r--sysdeps/unix/sysv/linux/sys/sysmacros.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/sysmacros.h b/sysdeps/unix/sysv/linux/sys/sysmacros.h
index 76eaf9f9d8..a1f1b2697d 100644
--- a/sysdeps/unix/sysv/linux/sys/sysmacros.h
+++ b/sysdeps/unix/sysv/linux/sys/sysmacros.h
@@ -21,10 +21,6 @@
 
 #include <features.h>
 
-/* If the compiler does not know long long it is out of luck.  We are
-   not going to hack weird hacks to support the dev_t representation
-   they need.  */
-#ifdef __GLIBC_HAVE_LONG_LONG
 __BEGIN_DECLS
 
 __extension__
@@ -38,7 +34,7 @@ extern unsigned long long int gnu_dev_makedev (unsigned int __major,
 					       unsigned int __minor)
      __THROW __attribute_const__;
 
-# ifdef __USE_EXTERN_INLINES
+#ifdef __USE_EXTERN_INLINES
 __extension__ __extern_inline __attribute_const__ unsigned int
 __NTH (gnu_dev_major (unsigned long long int __dev))
 {
@@ -58,13 +54,12 @@ __NTH (gnu_dev_makedev (unsigned int __major, unsigned int __minor))
 	  | (((unsigned long long int) (__minor & ~0xff)) << 12)
 	  | (((unsigned long long int) (__major & ~0xfff)) << 32));
 }
-# endif
+#endif
 __END_DECLS
 
 /* Access the functions with their traditional names.  */
-# define major(dev) gnu_dev_major (dev)
-# define minor(dev) gnu_dev_minor (dev)
-# define makedev(maj, min) gnu_dev_makedev (maj, min)
-#endif
+#define major(dev) gnu_dev_major (dev)
+#define minor(dev) gnu_dev_minor (dev)
+#define makedev(maj, min) gnu_dev_makedev (maj, min)
 
 #endif /* sys/sysmacros.h */