mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 03:09:08 +00:00
Fixed: #853 problem with crypt function under 64b system. patch by ratmice
This commit is contained in:
parent
c1ecaac78c
commit
c85e0ca93b
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ static char rz_sccsid[] = "@(#)crypt.c 8.1 (Berkeley) 6/4/93";
|
||||||
* define "LONG_IS_32_BITS" only if sizeof(long)==4.
|
* define "LONG_IS_32_BITS" only if sizeof(long)==4.
|
||||||
* This avoids use of bit fields (your compiler may be sloppy with them).
|
* This avoids use of bit fields (your compiler may be sloppy with them).
|
||||||
*/
|
*/
|
||||||
#if !defined(cray)
|
#if !defined(cray) && !defined(__LP64__) && !defined(_LP64)
|
||||||
#define LONG_IS_32_BITS
|
#define LONG_IS_32_BITS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ static char rz_sccsid[] = "@(#)crypt.c 8.1 (Berkeley) 6/4/93";
|
||||||
* define "B64" to be the declaration for a 64 bit integer.
|
* define "B64" to be the declaration for a 64 bit integer.
|
||||||
* XXX this feature is currently unused, see "endian" comment below.
|
* XXX this feature is currently unused, see "endian" comment below.
|
||||||
*/
|
*/
|
||||||
#if defined(cray)
|
#if defined(cray) || defined(__LP64__) || defined(_LP64)
|
||||||
#define B64 long
|
#define B64 long
|
||||||
#endif
|
#endif
|
||||||
#if defined(convex)
|
#if defined(convex)
|
||||||
|
|
Loading…
Reference in a new issue