$OpenBSD: patch-os_hpp,v 1.3 2007/09/25 19:40:57 rui Exp $ --- os.hpp.orig Mon Sep 10 12:49:28 2007 +++ os.hpp Mon Sep 24 17:14:20 2007 @@ -227,12 +227,12 @@ typedef const char* MSGID; #endif #endif -#if !defined(BIG_ENDIAN) && !defined(_WIN_CE) && defined(_WIN_32) +#if defined(ALLOW_NOT_ALIGNED_INT) /* allow not aligned integer access, increases speed in some operations */ -#define ALLOW_NOT_ALIGNED_INT +#undef ALLOW_NOT_ALIGNED_INT #endif -#if defined(__sparc) || defined(sparc) || defined(__sparcv9) +#ifndef STRICT_ALIGNMENT_REQUIRED /* prohibit not aligned access to data structures in text comression algorithm, increases memory requirements */ #define STRICT_ALIGNMENT_REQUIRED