From 1ef74943ce2f114c78b215af57c2ccc72ccdb0b7 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 25 Apr 2013 11:08:31 -0700 Subject: Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS --- sysdeps/generic/inttypes.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sysdeps/generic/inttypes.h') diff --git a/sysdeps/generic/inttypes.h b/sysdeps/generic/inttypes.h index dc97519056..95d781815b 100644 --- a/sysdeps/generic/inttypes.h +++ b/sysdeps/generic/inttypes.h @@ -40,11 +40,6 @@ typedef wchar_t __gwchar_t; # define ____gwchar_t_defined 1 #endif - -/* The ISO C99 standard specifies that these macros must only be - defined if explicitly requested. */ -#if !defined __cplusplus || defined __STDC_FORMAT_MACROS - # if __WORDSIZE == 64 # define __PRI64_PREFIX "l" # define __PRIPTR_PREFIX "l" @@ -267,8 +262,6 @@ typedef wchar_t __gwchar_t; # define SCNuPTR __PRIPTR_PREFIX "u" # define SCNxPTR __PRIPTR_PREFIX "x" -#endif /* C++ && format macros */ - __BEGIN_DECLS -- cgit v1.2.3