From 4a8feb3bdd422aede7c888ff97bb5f39cebb1f63 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 21 Feb 2014 22:50:14 +0000 Subject: Use stdint.h instead of cstdint for Clang. Bugzilla 266 --- src/lib/utils/types.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/lib') diff --git a/src/lib/utils/types.h b/src/lib/utils/types.h index 253aaa66a..13bb4b604 100644 --- a/src/lib/utils/types.h +++ b/src/lib/utils/types.h @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include /** @@ -19,18 +19,20 @@ */ namespace Botan { -using std::uint8_t; -using std::uint16_t; -using std::uint32_t; -using std::uint64_t; -using std::size_t; +using ::uint8_t; +using ::uint16_t; +using ::uint32_t; +using ::uint64_t; +using ::int32_t; + +using ::size_t; typedef uint8_t byte; typedef uint16_t u16bit; typedef uint32_t u32bit; typedef uint64_t u64bit; -typedef std::int32_t s32bit; +typedef int32_t s32bit; /** * A default buffer size; typically a memory page -- cgit v1.2.3