Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / gnome-vfs / patches / patch-ap
blob081521dde4c0429cf93c6cf2559381b9f7a54920
1 $NetBSD: patch-ap,v 1.3 2007/04/10 17:58:23 drochner Exp $
3 --- modules/file-method.c.orig  2007-03-13 11:50:03.000000000 +0100
4 +++ modules/file-method.c
5 @@ -134,13 +134,13 @@ GET_PATH_MAX (void)
6  }
7  #endif
8  
9 -#ifdef HAVE_OPEN64
10 +#if defined(HAVE_OPEN64) && !defined(__APPLE__)
11  #define OPEN open64
12  #else
13  #define OPEN g_open
14  #endif
16 -#if defined(HAVE_LSEEK64) && defined(HAVE_OFF64_T)
17 +#if (defined(HAVE_LSEEK64) && defined(HAVE_OFF64_T)) && !defined(__APPLE__)
18  #define LSEEK lseek64
19  #define OFF_T off64_t
20  #else