mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-17 14:00:04 -07:00
Correct includes for mingw in slow-hash
This needs testing
This commit is contained in:
parent
2b76e9d8a3
commit
cf91545734
@ -47,6 +47,14 @@
|
|||||||
#if !defined(RDATA_ALIGN16)
|
#if !defined(RDATA_ALIGN16)
|
||||||
#define RDATA_ALIGN16 __declspec(align(16))
|
#define RDATA_ALIGN16 __declspec(align(16))
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
#include <intrin.h>
|
||||||
|
#include <windows.h>
|
||||||
|
#define STATIC static
|
||||||
|
#define INLINE inline
|
||||||
|
#if !defined(RDATA_ALIGN16)
|
||||||
|
#define RDATA_ALIGN16 __attribute__ ((aligned(16)))
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <wmmintrin.h>
|
#include <wmmintrin.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user