From 237660b652ea643d42fbe105aad8dfcc7ef8a90c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 5 Apr 2016 21:14:20 +0200 Subject: unlimited access to macros Sync with GNU libc behaviour. --- include/stdint.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/stdint.h') 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 */ -- cgit v1.2.3