]> git.pld-linux.org Git - packages/cryptlib.git/blame - x32.patch
- release 5 (by relup.sh)
[packages/cryptlib.git] / x32.patch
CommitLineData
cc59b979
JR
1--- cryptlib-3.3.3/crypt/osconfig.h~ 2009-05-07 02:07:36.000000000 +0200
2+++ cryptlib-3.3.3/crypt/osconfig.h 2015-12-22 09:12:29.940840903 +0100
3@@ -101,7 +101,7 @@
4 #if defined( __FreeBSD__ ) || defined( __bsdi__ ) || \
5 defined( __OpenBSD__ ) || defined( __NetBSD__ ) || \
6 defined( __linux__ )
7- #if defined( __x86_64__ ) || defined( __amd64__ )
8+ #if (defined( __x86_64__ ) || defined( __amd64__ )) && !defined(__ILP32__)
9 /* 64-bit x86 has both 'long' and 'long long' as 64 bits. In addition
10 we use DES_INT since int's are 64-bit. We have to check for the
11 64-bit x86 variants before the generic ones because they're a
12@@ -115,7 +115,7 @@
13 #define DES_RISC1
14 #define DES_UNROLL
15 #define RC4_INDEX
16- #elif defined( __i386__ )
17+ #elif defined( __i386__ ) || ((defined( __x86_64__ ) || defined( __amd64__ )) && defined(__ILP32__))
18 #define L_ENDIAN
19 #define BN_LLONG
20 #define DES_PTR
This page took 0.057661 seconds and 4 git commands to generate.