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.