summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/statfix64.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/statfix64.h b/libc/sysdeps/linux/common/statfix64.h
index 8e3c925b3..8d6a86a01 100644
--- a/libc/sysdeps/linux/common/statfix64.h
+++ b/libc/sysdeps/linux/common/statfix64.h
@@ -5,13 +5,15 @@
#if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS != 64
#undef _FILE_OFFSET_BITS
-#define _FILE_OFFSET_BITS 64
-#endif
-#ifndef __USE_FILE_OFFSET64
-# define __USE_FILE_OFFSET64 1
+#define _FILE_OFFSET_BITS 64
#endif
#ifndef __USE_LARGEFILE64
-# define __USE_LARGEFILE64 1
+# define __USE_LARGEFILE64 1
+#endif
+/* We absolutely do _NOT_ want interfaces silently
+ * * renamed under us or very bad things will happen... */
+#ifdef __USE_FILE_OFFSET64
+# undef __USE_FILE_OFFSET64
#endif
#ifdef __UCLIBC_HAVE_LFS__