Author: dim Date: Wed Aug 31 18:37:04 2016 New Revision: 305142 URL: https://svnweb.freebsd.org/changeset/base/305142
Log: MFC r304969: Define hastd's STRICT_ALIGN macro in a defined and portable way. Modified: stable/10/sbin/hastd/lzf.h Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/11/sbin/hastd/lzf.h Directory Properties: stable/11/ (props changed) Modified: stable/10/sbin/hastd/lzf.h ============================================================================== --- stable/10/sbin/hastd/lzf.h Wed Aug 31 18:35:41 2016 (r305141) +++ stable/10/sbin/hastd/lzf.h Wed Aug 31 18:37:04 2016 (r305142) @@ -132,7 +132,11 @@ lzf_decompress (const void *const in_dat * 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 /* _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"