20 lines
682 B
Plaintext
20 lines
682 B
Plaintext
$OpenBSD: patch-os_hpp,v 1.6 2010/12/30 07:51:31 benoit Exp $
|
|
--- os.hpp.orig Fri Nov 26 08:20:01 2010
|
|
+++ os.hpp Mon Dec 6 07:49:22 2010
|
|
@@ -262,12 +262,12 @@
|
|
#endif
|
|
#endif
|
|
|
|
-#if !defined(BIG_ENDIAN) && !defined(_WIN_CE) && defined(_WIN_ALL)
|
|
+#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
|