1234567891011121314151617181920212223242526272829303132 |
- $OpenBSD: patch-os_hpp,v 1.12 2015/04/03 11:58:51 naddy Exp $
- --- os.hpp.orig Sun Feb 15 09:02:48 2015
- +++ os.hpp Fri Apr 3 13:57:04 2015
- @@ -137,6 +137,7 @@
- #endif
- #endif
- #if defined(__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined(__APPLE__)
- +#include <machine/endian.h>
- #endif
- #include <pwd.h>
- #include <grp.h>
- @@ -156,6 +157,10 @@
- #include <locale.h>
-
-
- +#ifdef OPENSSL_AES
- +#include <openssl/evp.h>
- +#endif
- +
- #ifdef S_IFLNK
- #define SAVE_LINKS
- #endif
- @@ -242,7 +247,7 @@
- #endif
- #endif
-
- -#if !defined(BIG_ENDIAN) && defined(_WIN_ALL) || defined(__i386__) || defined(__x86_64__)
- +#if !defined(BIG_ENDIAN) && defined(_WIN_ALL) || !defined(__STRICT_ALIGNMENT)
- // Allow not aligned integer access, increases speed in some operations.
- #define ALLOW_MISALIGNED
- #endif
|