[haiku-commits] r34240 - haiku/trunk/build/jam

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 25 Nov 2009 12:58:10 +0100 (CET)

Author: bonefish
Date: 2009-11-25 12:58:09 +0100 (Wed, 25 Nov 2009)
New Revision: 34240
Changeset: http://dev.haiku-os.org/changeset/34240/haiku

Modified:
   haiku/trunk/build/jam/BuildSetup
Log:
Also add __STDC_LIMIT_MACROS to the host defines. It gives us macros like
INT32_MAX.


Modified: haiku/trunk/build/jam/BuildSetup
===================================================================
--- haiku/trunk/build/jam/BuildSetup    2009-11-25 11:51:24 UTC (rev 34239)
+++ haiku/trunk/build/jam/BuildSetup    2009-11-25 11:58:09 UTC (rev 34240)
@@ -730,7 +730,8 @@
        # 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.


Other related posts:

  • » [haiku-commits] r34240 - haiku/trunk/build/jam - ingo_weinhold