diff options
author | Elliott Hughes <enh@google.com> | 2013-06-19 19:45:09 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-06-19 19:45:09 +0000 |
commit | 4eed65090b1f0d0d087f26bd7367da90a0cca92d (patch) | |
tree | d60dc085adb48c3f8efb3ae337ec9cffe3a74b2a /libc/include | |
parent | 02ca0e314219a4c7205a180a414c509651043f13 (diff) | |
parent | dc5d3426d8c50c29c3a92ff9c9ca61d069e8dfeb (diff) | |
download | bionic-4eed65090b1f0d0d087f26bd7367da90a0cca92d.zip bionic-4eed65090b1f0d0d087f26bd7367da90a0cca92d.tar.gz bionic-4eed65090b1f0d0d087f26bd7367da90a0cca92d.tar.bz2 |
Merge "stdint.h header is not fully compatible with C99(ISO9899:1999)"
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/stdint.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/include/stdint.h b/libc/include/stdint.h index 293fb03..8e2f99e 100644 --- a/libc/include/stdint.h +++ b/libc/include/stdint.h @@ -66,7 +66,7 @@ typedef uint8_t uint_fast8_t; # define INT_FAST8_MIN INT8_MIN # define INT_FAST8_MAX INT8_MAX -# define UINT8_MAX (255U) +# define UINT8_MAX (255) # define UINT_LEAST8_MAX UINT8_MAX # define UINT_FAST8_MAX UINT8_MAX #endif @@ -76,7 +76,7 @@ typedef uint8_t uint_fast8_t; # define INT_LEAST8_C(c) INT8_C(c) # define INT_FAST8_C(c) INT8_C(c) -# define UINT8_C(c) c ## U +# define UINT8_C(c) c # define UINT_LEAST8_C(c) UINT8_C(c) # define UINT_FAST8_C(c) UINT8_C(c) #endif @@ -99,7 +99,7 @@ typedef uint32_t uint_fast16_t; # define INT_FAST16_MIN INT32_MIN # define INT_FAST16_MAX INT32_MAX -# define UINT16_MAX (65535U) +# define UINT16_MAX (65535) # define UINT_LEAST16_MAX UINT16_MAX # define UINT_FAST16_MAX UINT32_MAX #endif @@ -109,7 +109,7 @@ typedef uint32_t uint_fast16_t; # define INT_LEAST16_C(c) INT16_C(c) # define INT_FAST16_C(c) INT32_C(c) -# define UINT16_C(c) c ## U +# define UINT16_C(c) c # define UINT_LEAST16_C(c) UINT16_C(c) # define UINT_FAST16_C(c) UINT32_C(c) #endif |