define UNALIGNED_ACCESS_OK on x86
This commit is contained in:
parent
bba5426d38
commit
50b45b0f8d
4
byte.h
4
byte.h
@ -43,6 +43,10 @@ void byte_zero(void* out, size_t len);
|
|||||||
|
|
||||||
int byte_equal_notimingattack(const void* a, size_t len,const void* b) __pure__;
|
int byte_equal_notimingattack(const void* a, size_t len,const void* b) __pure__;
|
||||||
|
|
||||||
|
#if defined(__i386__) || defined(__x86_64__)
|
||||||
|
#define UNALIGNED_ACCESS_OK
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user