7a8012026a
ok jasper@
20 lines
678 B
Plaintext
20 lines
678 B
Plaintext
$OpenBSD: patch-os_hpp,v 1.4 2008/09/21 18:25:32 rui Exp $
|
|
--- os.hpp.orig Sun Jun 15 13:42:13 2008
|
|
+++ os.hpp Sat Sep 20 21:56:10 2008
|
|
@@ -228,12 +228,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
|