diff options
author | van Hauser <vh@thc.org> | 2020-05-28 22:56:15 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-28 22:56:15 +0200 |
commit | eb7d1e22e5b644341e62f21f1ab711dee20c1977 (patch) | |
tree | f4d470799402d7a1c6a67acba0d37b087b086505 | |
parent | 0555b26161fe98fb6645767416d9c6fe82c99fed (diff) | |
download | afl++-eb7d1e22e5b644341e62f21f1ab711dee20c1977.tar.gz |
simplify u64
-rw-r--r-- | include/types.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/types.h b/include/types.h index d1e44617..77b7ae74 100644 --- a/include/types.h +++ b/include/types.h @@ -54,24 +54,7 @@ typedef uint32_t u32; #define FS_OPT_SET_MAPSIZE(x) \ (x <= 1 || x > FS_OPT_MAX_MAPSIZE ? 0 : ((x - 1) << 1)) -/* - - Ugh. There is an unintended compiler / glibc #include glitch caused by - combining the u64 type an %llu in format strings, necessitating a workaround. - - In essence, the compiler is always looking for 'unsigned long long' for %llu. - On 32-bit systems, the u64 type (aliased to uint64_t) is expanded to - 'unsigned long long' in <bits/types.h>, so everything checks out. - - But on 64-bit systems, it is #ifdef'ed in the same file as 'unsigned long'. - - */ - -#ifdef __LP64__ typedef unsigned long long u64; -#else -typedef uint64_t u64; -#endif /* ^__x86_64__ */ typedef int8_t s8; typedef int16_t s16; |