Module Name:    src
Committed By:   pooka
Date:           Thu Jan 16 16:03:33 UTC 2014

Modified Files:
        src/lib/librumpuser: rumpuser_port.h

Log Message:
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).


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/lib/librumpuser/rumpuser_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumpuser/rumpuser_port.h
diff -u src/lib/librumpuser/rumpuser_port.h:1.27 src/lib/librumpuser/rumpuser_port.h:1.28
--- src/lib/librumpuser/rumpuser_port.h:1.27	Wed Jan 15 16:53:15 2014
+++ src/lib/librumpuser/rumpuser_port.h	Thu Jan 16 16:03:33 2014
@@ -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
 

Reply via email to