[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.13-9-g237660b

wbx wbx at helium.waldemar-brodkorb.de
Tue Apr 5 21:15:59 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  237660b652ea643d42fbe105aad8dfcc7ef8a90c (commit)
      from  963972a35cc2a7fa83706da2adcc86a388109e89 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 237660b652ea643d42fbe105aad8dfcc7ef8a90c
Author: Waldemar Brodkorb <wbx at uclibc-ng.org>
Date:   Tue Apr 5 21:14:20 2016 +0200

    unlimited access to macros
    
    Sync with GNU libc behaviour.

-----------------------------------------------------------------------

Summary of changes:
 include/inttypes.h |  7 -------
 include/stdint.h   | 12 ------------
 2 files changed, 19 deletions(-)

diff --git a/include/inttypes.h b/include/inttypes.h
index fa63398..15e0b59 100644
--- a/include/inttypes.h
+++ b/include/inttypes.h
@@ -42,11 +42,6 @@ typedef wchar_t __gwchar_t;
 #endif
 #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"
@@ -269,8 +264,6 @@ typedef wchar_t __gwchar_t;
 # define SCNuPTR	__PRIPTR_PREFIX "u"
 # define SCNxPTR	__PRIPTR_PREFIX "x"
 
-#endif	/* C++ && format macros */
-
 
 __BEGIN_DECLS
 
diff --git a/include/stdint.h b/include/stdint.h
index 9ca8445..749f736 100644
--- a/include/stdint.h
+++ b/include/stdint.h
@@ -143,10 +143,6 @@ typedef unsigned long long int	uintmax_t;
 #endif
 
 
-/* The ISO C99 standard specifies that in C++ implementations these
-   macros should only be defined if explicitly requested.  */
-#if !defined __cplusplus || defined __STDC_LIMIT_MACROS
-
 # if __WORDSIZE == 64
 #  define __INT64_C(c)	c ## L
 #  define __UINT64_C(c)	c ## UL
@@ -281,12 +277,6 @@ typedef unsigned long long int	uintmax_t;
 # define WINT_MAX		(4294967295u)
 #endif /* __UCLIBC_HAS_WCHAR__ */
 
-#endif	/* C++ && limit macros */
-
-
-/* The ISO C99 standard specifies that in C++ implementations these
-   should only be defined if explicitly requested.  */
-#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
 
 /* Signed.  */
 # define INT8_C(c)	c
@@ -317,6 +307,4 @@ typedef unsigned long long int	uintmax_t;
 #  define UINTMAX_C(c)	c ## ULL
 # endif
 
-#endif	/* C++ && constant macros */
-
 #endif /* stdint.h */


hooks/post-receive
-- 
uClibc-ng - small C library for embedded systems


More information about the devel mailing list