Commit 1dd16745 authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard
Browse files

Move private macro from header to C file

parent 385069f1
...@@ -33,11 +33,9 @@ ...@@ -33,11 +33,9 @@
#include <stddef.h> #include <stddef.h>
#if defined(_MSC_VER) || defined(__WATCOMC__) #if defined(_MSC_VER) || defined(__WATCOMC__)
#define UL64(x) x##ui64
typedef unsigned __int64 uint64_t; typedef unsigned __int64 uint64_t;
#else #else
#include <inttypes.h> #include <inttypes.h>
#define UL64(x) x##ULL
#endif #endif
#define POLARSSL_ERR_SHA512_FILE_IO_ERROR -0x007A /**< Read/write error in file. */ #define POLARSSL_ERR_SHA512_FILE_IO_ERROR -0x007A /**< Read/write error in file. */
......
...@@ -35,6 +35,12 @@ ...@@ -35,6 +35,12 @@
#include "polarssl/sha512.h" #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> #include <string.h>
#if defined(POLARSSL_FS_IO) #if defined(POLARSSL_FS_IO)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment