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
This commit is contained in:
Ingo Weinhold 2007-05-09 09:48:35 +00:00
parent ed014fee89
commit 13246f99ab

View File

@ -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.