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
This commit is contained in:
Ingo Weinhold 2009-11-25 11:58:09 +00:00
parent 608d959d73
commit a79e0ef1ad

View File

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