summaryrefslogtreecommitdiff
path: root/include/stdint.h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-05 21:14:20 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-04-05 21:14:20 +0200
commit237660b652ea643d42fbe105aad8dfcc7ef8a90c (patch)
treef23117f0bbb296c16b3ec24e7d2762793b360b5c /include/stdint.h
parent963972a35cc2a7fa83706da2adcc86a388109e89 (diff)
unlimited access to macros
Sync with GNU libc behaviour.
Diffstat (limited to 'include/stdint.h')
-rw-r--r--include/stdint.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/stdint.h b/include/stdint.h
index 9ca84453c..749f73697 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 */