From a79e0ef1ad3d400d76d865c341a9f03521121143 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 25 Nov 2009 11:58:09 +0000 Subject: [PATCH] Also add __STDC_LIMIT_MACROS to the host defines. It gives us macros like INT32_MAX. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34240 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index 7d0bf6aaf9..2d2a2fc151 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -730,7 +730,8 @@ 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. On some platforms we need to # request 64 bit off_t support explicitely. - HOST_DEFINES += _GNU_SOURCE _FILE_OFFSET_BITS=64 __STDC_FORMAT_MACROS ; + HOST_DEFINES += _GNU_SOURCE _FILE_OFFSET_BITS=64 __STDC_FORMAT_MACROS + __STDC_LIMIT_MACROS ; # On Linux with xattr support we can use it for our attribute emulation, # which is somewhat more robust.