|
|
147e83 |
commit 1ef74943ce2f114c78b215af57c2ccc72ccdb0b7
|
|
|
147e83 |
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
|
|
|
147e83 |
Date: Thu Apr 25 11:08:31 2013 -0700
|
|
|
147e83 |
|
|
|
147e83 |
Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and
|
|
|
147e83 |
__STDC_CONSTANT_MACROS.
|
|
|
147e83 |
|
|
|
147e83 |
--- glibc-2.17-c758a686/sysdeps/generic/inttypes.h
|
|
|
147e83 |
+++ glibc-2.17-c758a686/sysdeps/generic/inttypes.h
|
|
|
147e83 |
@@ -41,10 +41,6 @@
|
|
|
147e83 |
#endif
|
|
|
147e83 |
|
|
|
147e83 |
|
|
|
147e83 |
-/* The ISO C99 standard specifies that these macros must only be
|
|
|
147e83 |
- defined if explicitly requested. */
|
|
|
147e83 |
-#if !defined __cplusplus || defined __STDC_FORMAT_MACROS
|
|
|
147e83 |
-
|
|
|
147e83 |
# if __WORDSIZE == 64
|
|
|
147e83 |
# define __PRI64_PREFIX "l"
|
|
|
147e83 |
# define __PRIPTR_PREFIX "l"
|
|
|
147e83 |
@@ -267,8 +263,6 @@
|
|
|
147e83 |
# define SCNuPTR __PRIPTR_PREFIX "u"
|
|
|
147e83 |
# define SCNxPTR __PRIPTR_PREFIX "x"
|
|
|
147e83 |
|
|
|
147e83 |
-#endif /* C++ && format macros */
|
|
|
147e83 |
-
|
|
|
147e83 |
|
|
|
147e83 |
__BEGIN_DECLS
|
|
|
147e83 |
|
|
|
147e83 |
--- glibc-2.17-c758a686/sysdeps/generic/stdint.h
|
|
|
147e83 |
+++ glibc-2.17-c758a686/sysdeps/generic/stdint.h
|
|
|
147e83 |
@@ -141,10 +141,6 @@
|
|
|
147e83 |
#endif
|
|
|
147e83 |
|
|
|
147e83 |
|
|
|
147e83 |
-/* The ISO C99 standard specifies that in C++ implementations these
|
|
|
147e83 |
- macros should only be defined if explicitly requested. */
|
|
|
147e83 |
-#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
|
|
|
147e83 |
-
|
|
|
147e83 |
# if __WORDSIZE == 64
|
|
|
147e83 |
# define __INT64_C(c) c ## L
|
|
|
147e83 |
# define __UINT64_C(c) c ## UL
|
|
|
147e83 |
@@ -278,12 +274,6 @@
|
|
|
147e83 |
# define WINT_MIN (0u)
|
|
|
147e83 |
# define WINT_MAX (4294967295u)
|
|
|
147e83 |
|
|
|
147e83 |
-#endif /* C++ && limit macros */
|
|
|
147e83 |
-
|
|
|
147e83 |
-
|
|
|
147e83 |
-/* The ISO C99 standard specifies that in C++ implementations these
|
|
|
147e83 |
- should only be defined if explicitly requested. */
|
|
|
147e83 |
-#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
|
|
|
147e83 |
|
|
|
147e83 |
/* Signed. */
|
|
|
147e83 |
# define INT8_C(c) c
|
|
|
147e83 |
@@ -314,6 +304,4 @@
|
|
|
147e83 |
# define UINTMAX_C(c) c ## ULL
|
|
|
147e83 |
# endif
|
|
|
147e83 |
|
|
|
147e83 |
-#endif /* C++ && constant macros */
|
|
|
147e83 |
-
|
|
|
147e83 |
#endif /* stdint.h */
|