mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-31 07:32:42 -05:00
Initial Windows ARM64 support via MSYS2.
This commit is contained in:
@@ -392,13 +392,17 @@ FORCE_INLINE rx_vec_f128 rx_cvt_packed_int_vec_f128(const void* addr) {
|
||||
typedef uint8x16_t rx_vec_i128;
|
||||
typedef float64x2_t rx_vec_f128;
|
||||
|
||||
#if !defined(XMRIG_OS_WIN) // FIXME
|
||||
inline void* rx_aligned_alloc(size_t size, size_t align) {
|
||||
void* p;
|
||||
if (posix_memalign(&p, align, size) == 0)
|
||||
return p;
|
||||
void* p;
|
||||
if (posix_memalign(&p, align, size) == 0)
|
||||
return p;
|
||||
|
||||
return 0;
|
||||
return 0;
|
||||
};
|
||||
#else
|
||||
# define rx_aligned_alloc(a, b) malloc(a)
|
||||
#endif
|
||||
|
||||
#define rx_aligned_free(a) free(a)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user