- (dtucker) [defines.h] Add typedefs for uintXX_t types for platforms that
don't have them.
This commit is contained in:
parent
c3ed065ce8
commit
acad351a5b
|
@ -12,6 +12,8 @@
|
||||||
includes.h to pull in all of the compatibility stuff.
|
includes.h to pull in all of the compatibility stuff.
|
||||||
- (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside
|
- (dtucker) [openbsd-compat/bcrypt_pbkdf.c] Wrap stdlib.h include inside
|
||||||
#ifdef HAVE_STDINT_H.
|
#ifdef HAVE_STDINT_H.
|
||||||
|
- (dtucker) [defines.h] Add typedefs for uintXX_t types for platforms that
|
||||||
|
don't have them.
|
||||||
|
|
||||||
20140118
|
20140118
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
#ifndef _DEFINES_H
|
#ifndef _DEFINES_H
|
||||||
#define _DEFINES_H
|
#define _DEFINES_H
|
||||||
|
|
||||||
/* $Id: defines.h,v 1.174 2013/11/07 02:28:16 djm Exp $ */
|
/* $Id: defines.h,v 1.175 2014/01/17 03:20:05 dtucker Exp $ */
|
||||||
|
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
|
@ -249,6 +249,13 @@ typedef unsigned long u_int32_t;
|
||||||
#define __BIT_TYPES_DEFINED__
|
#define __BIT_TYPES_DEFINED__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_UINTXX_T
|
||||||
|
typedef u_int8_t uint8_t;
|
||||||
|
typedef u_int16_t uint16_t;
|
||||||
|
typedef u_int32_t uint32_t;
|
||||||
|
typedef u_int64_t uint64_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* 64-bit types */
|
/* 64-bit types */
|
||||||
#ifndef HAVE_INT64_T
|
#ifndef HAVE_INT64_T
|
||||||
# if (SIZEOF_LONG_INT == 8)
|
# if (SIZEOF_LONG_INT == 8)
|
||||||
|
|
Loading…
Reference in New Issue