]>
Commit | Line | Data |
---|---|---|
8280683f MT |
1 | Patch by Paul Nasrat <pnasrat@redhat.com> for beecrypt >= 4.1.2 to make multilib/multiarch |
2 | of beecrypt-devel working. | |
3 | ||
4 | --- beecrypt-4.1.2/gnu.h.in 2006-05-22 15:53:45.000000000 -0400 | |
5 | +++ beecrypt-4.1.2/gnu.h.in.biarch 2006-05-22 15:53:49.000000000 -0400 | |
6 | @@ -61,7 +61,12 @@ | |
7 | * make assumptions about the size set by the configure script | |
8 | */ | |
9 | #if !defined(MP_WBITS) | |
10 | -# define MP_WBITS @MP_WBITS@ | |
11 | +# include <bits/wordsize.h> | |
12 | +#if __WORDSIZE == 32 | |
13 | +# define MP_WBITS 32U | |
14 | +#elif __WORDSIZE == 64 | |
15 | +# define MP_WBITS 64U | |
16 | +#endif | |
17 | #endif | |
18 | ||
19 | #endif |