Browse Source

define UNALIGNED_ACCESS_OK on x86

master
Felix von Leitner 7 years ago
parent
commit
ba201f6105
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      byte.h

+ 4
- 0
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


Loading…
Cancel
Save