From 13246f99ab8c618ec6d544112dadaa728c8eb32f Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 9 May 2007 09:48:35 +0000 Subject: [PATCH] Apparently _GNU_SOURCE doesn't imply 64 bit off_t on all glibc platforms. Funny that it still isn't the default, anyway. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21083 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index a7ddbf115c..c49c7ede0e 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -479,8 +479,9 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) { } # Supposing this is a glibc platform, let's try to get features like large - # file support, ISO C 99 definitions, etc. - HOST_DEFINES += _GNU_SOURCE ; + # file support, ISO C 99 definitions, etc. On some platforms we need to + # request 64 bit off_t support explicitely. + HOST_DEFINES += _GNU_SOURCE _FILE_OFFSET_BITS=64 ; # On Linux with xattr support we can use it for our attribute emulation, # which is somewhat more robust.