SHA256
1
0
forked from pool/Botan
Botan/Botan-inttypes.patch
OBS User autobuild facc23c698 Accepting request 26756 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/Botan based on submit request 26756 from user psmt

OBS-URL: https://build.opensuse.org/request/show/26756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=5
2009-12-16 15:54:21 +00:00

33 lines
875 B
Diff

Index: src/utils/types.h
===================================================================
--- src/utils/types.h.orig 2009-11-03 19:02:17.000000000 +0100
+++ src/utils/types.h 2009-11-23 18:18:51.924780607 +0100
@@ -9,21 +9,22 @@
#define BOTAN_TYPES_H__
#include <botan/build.h>
+#include <stdint.h>
namespace Botan {
-typedef unsigned char byte;
-typedef unsigned short u16bit;
-typedef unsigned int u32bit;
+typedef uint8_t byte;
+typedef uint16_t u16bit;
+typedef uint32_t u32bit;
-typedef signed int s32bit;
+typedef int32_t s32bit;
#if defined(_MSC_VER) || defined(__BORLANDC__)
typedef unsigned __int64 u64bit;
#elif defined(__KCC)
typedef unsigned __long_long u64bit;
#elif defined(__GNUG__)
- __extension__ typedef unsigned long long u64bit;
+ __extension__ typedef uint64_t u64bit;
#else
typedef unsigned long long u64bit;
#endif