define UNALIGNED_ACCESS_OK on x86

master
Felix von Leitner 2013-08-22 23:38:08 +00:00
parent 20448ccdd8
commit ba201f6105
1 changed files with 4 additions and 0 deletions

4
byte.h
View File

@ -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__;
#if defined(__i386__) || defined(__x86_64__)
#define UNALIGNED_ACCESS_OK
#endif
#ifdef __cplusplus
}
#endif