From 1ba4119ddaa5838cb2a091d7d80969392ed38722 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 4 May 2007 09:55:31 +0000 Subject: [PATCH] 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 --- build/jam/BuildSetup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index 933cb9bb43..a7ddbf115c 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -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.