Fix undefined behavior constant defined.

This commit is contained in:
David Carlier
2017-11-19 16:23:42 +00:00
parent cf9a3f7048
commit 62689ef0cf
2 changed files with 10 additions and 2 deletions

View File

@ -79,7 +79,11 @@
* Unconditionally aligning does not cost very much, so do it if unsure
*/
#ifndef STRICT_ALIGN
# define STRICT_ALIGN !(defined(__i386) || defined (__amd64))
# if !(defined(__i386) || defined (__amd64))
# define STRICT_ALIGN 1
# else
# define STRICT_ALIGN 0
# endif
#endif
/*