31 lines
838 B
Plaintext
31 lines
838 B
Plaintext
$OpenBSD: patch-os_hpp,v 1.9 2012/11/26 17:17:41 naddy Exp $
|
|
--- os.hpp.orig Sat Jun 9 15:21:04 2012
|
|
+++ os.hpp Sun Nov 25 23:31:08 2012
|
|
@@ -169,6 +169,10 @@
|
|
#include <utime.h>
|
|
#include <locale.h>
|
|
|
|
+#ifdef OPENSSL
|
|
+#include <openssl/evp.h>
|
|
+#endif
|
|
+
|
|
#ifdef S_IFLNK
|
|
#define SAVE_LINKS
|
|
#endif
|
|
@@ -240,12 +244,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 compression
|
|
// algorithm, increases memory requirements
|
|
#define STRICT_ALIGNMENT_REQUIRED
|