X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Finttypes.in.h;h=7022ebc354cb529b862b2faded233cc6e1b970fd;hb=31d3154399f8c679ba23afb0f6bef03b73d4c741;hp=8a24850562eb82c03da20d9b2350daf4073e69ec;hpb=2fd369d04b4b9022ee48695882bf98d2d51a33dd;p=gnulib.git diff --git a/lib/inttypes.in.h b/lib/inttypes.in.h index 8a2485056..7022ebc35 100644 --- a/lib/inttypes.in.h +++ b/lib/inttypes.in.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2006-2007 Free Software Foundation, Inc. +/* Copyright (C) 2006-2009 Free Software Foundation, Inc. Written by Paul Eggert, Bruno Haible, Derek Price. This file is part of gnulib. @@ -26,6 +26,9 @@ The include_next requires a split double-inclusion guard. */ #if ! defined INTTYPES_H || defined _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H # if @HAVE_INTTYPES_H@ +# if __GNUC__ >= 3 +@PRAGMA_SYSTEM_HEADER@ +# endif # @INCLUDE_NEXT@ @NEXT_INTTYPES_H@ # endif #endif @@ -165,7 +168,7 @@ # endif # endif # ifdef INT64_MAX -# if @INT64_MAX_EQ_LONG_MAX@ +# if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _PRI64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRI64_PREFIX "I64" @@ -182,7 +185,7 @@ # endif # endif # ifdef UINT64_MAX -# if @UINT64_MAX_EQ_ULONG_MAX@ +# if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _PRIu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _PRIu64_PREFIX "I64" @@ -658,7 +661,7 @@ # endif # endif # ifdef INT64_MAX -# if @INT64_MAX_EQ_LONG_MAX@ +# if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @INT64_MAX_EQ_LONG_MAX@) # define _SCN64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCN64_PREFIX "I64" @@ -675,7 +678,7 @@ # endif # endif # ifdef UINT64_MAX -# if @UINT64_MAX_EQ_ULONG_MAX@ +# if (@APPLE_UNIVERSAL_BUILD@ ? defined _LP64 : @UINT64_MAX_EQ_ULONG_MAX@) # define _SCNu64_PREFIX "l" # elif defined _MSC_VER || defined __MINGW32__ # define _SCNu64_PREFIX "I64"