2009-09-11 16:14:01 +00:00

20 lines
680 B
Plaintext

$OpenBSD: patch-os_hpp,v 1.5 2009/09/11 16:14:01 naddy Exp $
--- os.hpp.orig Sun Aug 16 13:09:36 2009
+++ os.hpp Mon Sep 7 17:50:51 2009
@@ -245,12 +245,12 @@
#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