From cf91545734134866e93fa8cc8d36a7b8cf45bafb Mon Sep 17 00:00:00 2001 From: Zachary Michaels Date: Wed, 6 Aug 2014 13:07:36 -0400 Subject: [PATCH] Correct includes for mingw in slow-hash This needs testing --- src/crypto/slow-hash.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index b33ef0f47..2d3197d62 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -47,6 +47,14 @@ #if !defined(RDATA_ALIGN16) #define RDATA_ALIGN16 __declspec(align(16)) #endif +#elif defined(__MINGW32__) +#include +#include +#define STATIC static +#define INLINE inline +#if !defined(RDATA_ALIGN16) +#define RDATA_ALIGN16 __attribute__ ((aligned(16))) +#endif #else #include #include