Get more features on glibc host platforms, among those ISO C 99

definitions (like LLONG_{MIN,MAX}).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21012 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-05-04 09:55:31 +00:00
parent 81149059e2
commit 1ba4119dda
+3 -4
View File
@@ -478,10 +478,9 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
HOST_DEFINES += __POWERPC__ ;
}
# Supposing this is a glibc platform, let's try to get large file support
HOST_DEFINES +=
_LARGEFILE_SOURCE _LARGEFILE64_SOURCE _FILE_OFFSET_BITS=64
;
# 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 ;
# On Linux with xattr support we can use it for our attribute emulation,
# which is somewhat more robust.