diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-02-28 09:25:20 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-28 18:53:32 +0100 |
commit | c7a059e376bd0105ad470017a774715b112de8b4 (patch) | |
tree | 0983c38a88e715e2b45221906d659c332e53e644 /src/3rdparty/rfc6234 | |
parent | f3b68e352e4ce3d9a725f57e33ab6c479c27720c (diff) |
Compile SHA-2 code on systems without stdint.h
stdint.h is a C99-ism, which isn't available everywhere. The sha.h
header tells us we need 4 typedefs. Add these to qcryptographichash.cpp
before including sha.h and comment out the stdint.h include in sha.h.
Change-Id: I1ede9569fa7eaa84de3befeb3c58cc6a05aa522c
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/3rdparty/rfc6234')
-rw-r--r-- | src/3rdparty/rfc6234/sha.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/rfc6234/sha.h b/src/3rdparty/rfc6234/sha.h index 1ffd688079..9c26f0253c 100644 --- a/src/3rdparty/rfc6234/sha.h +++ b/src/3rdparty/rfc6234/sha.h @@ -70,7 +70,8 @@ * */ -#include <stdint.h> +// stdint.h include commented out by Nokia, it is not available on all platforms. +// #include <stdint.h> /* * If you do not have the ISO standard stdint.h header file, then you * must typedef the following: |