Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser Do not force _FILE_OFFSET_BITS=64 here. It'...
details: https://anonhg.NetBSD.org/src/rev/3913d5115f26
branches: trunk
changeset: 326036:3913d5115f26
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Jan 16 16:03:33 2014 +0000
description:
Do not force _FILE_OFFSET_BITS=64 here. It's no longer strictly speaking
required (rumpuser interface no longer uses off_t) and force-defining
it causes foo() to magically become foo64() on glibc (even on 64bit
platforms).
diffstat:
lib/librumpuser/rumpuser_port.h | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 6fa766ea9ff8 -r 3913d5115f26 lib/librumpuser/rumpuser_port.h
--- a/lib/librumpuser/rumpuser_port.h Thu Jan 16 14:46:36 2014 +0000
+++ b/lib/librumpuser/rumpuser_port.h Thu Jan 16 16:03:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_port.h,v 1.27 2014/01/15 16:53:15 pooka Exp $ */
+/* $NetBSD: rumpuser_port.h,v 1.28 2014/01/16 16:03:33 pooka Exp $ */
/*
* Portability header for non-NetBSD platforms.
@@ -47,7 +47,6 @@
#ifdef __linux__
#define _XOPEN_SOURCE 600
#define _BSD_SOURCE
-#define _FILE_OFFSET_BITS 64
#define _GNU_SOURCE
#include <features.h>
#endif
@@ -55,8 +54,6 @@
#if defined(__sun__)
# if defined(RUMPUSER_NO_FILE_OFFSET_BITS)
# undef _FILE_OFFSET_BITS
-# else
-# define _FILE_OFFSET_BITS 64
# endif
#endif
Home |
Main Index |
Thread Index |
Old Index