commit | 1dd1674559c0aae976b84e725e4689a1f5667f1c | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 05 16:13:04 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Mar 06 12:01:27 2015 +0000 |
tree | 3e6caeee8da1cf5ab260e7c14b6c59b928f99124 | |
parent | 385069f17d9f8cb6fd514c48c1e86ec657dd5f2e [diff] |
Move private macro from header to C file
diff --git a/library/sha512.c b/library/sha512.c index 5decc8f..2c22259 100644 --- a/library/sha512.c +++ b/library/sha512.c
@@ -35,6 +35,12 @@ #include "polarssl/sha512.h" +#if defined(_MSC_VER) || defined(__WATCOMC__) + #define UL64(x) x##ui64 +#else + #define UL64(x) x##ULL +#endif + #include <string.h> #if defined(POLARSSL_FS_IO)