Fixed crypt() for 64-bit systems.

This commit is contained in:
Alex Smith 2012-08-17 13:37:05 +01:00
parent 3bf3aa2e2c
commit e993391e9c
2 changed files with 10 additions and 1 deletions

View File

@ -23,6 +23,8 @@
*
*/
#include <string.h>
#ifdef DEBUG
#include <stdio.h>
#endif

View File

@ -23,6 +23,8 @@
*
*/
#include <SupportDefs.h>
/*
* Requirements for datatypes:
*
@ -99,10 +101,15 @@ typedef long long long64;
#ifndef _UFC_64_
#ifndef _UFC_32_
#if B_HAIKU_64_BIT
#define _UFC_64_
typedef unsigned long long64;
#else
#define _UFC_32_
typedef unsigned long ufc_long;
typedef unsigned long long32;
#endif
typedef unsigned long ufc_long;
#endif
#endif