define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi

This commit is contained in:
cgd 1994-07-20 05:44:19 +00:00
parent 65e0c25657
commit 3fbc338a62
6 changed files with 11 additions and 5 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)types.h 7.5 (Berkeley) 3/9/91
* $Id: types.h,v 1.5 1994/05/24 00:51:36 cgd Exp $
* $Id: types.h,v 1.6 1994/07/20 05:44:19 cgd Exp $
*/
#ifndef _MACHTYPES_H_
@ -52,6 +52,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)types.h 7.9 (Berkeley) 3/9/91
* $Id: types.h,v 1.5 1994/05/23 07:41:56 cgd Exp $
* $Id: types.h,v 1.6 1994/07/20 05:44:23 cgd Exp $
*/
#ifndef _M68K_TYPES_H_
#define _M68K_TYPES_H_
@ -51,6 +51,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)types.h 8.3 (Berkeley) 1/5/94
* $Id: types.h,v 1.4 1994/05/27 09:02:34 glass Exp $
* $Id: types.h,v 1.5 1994/07/20 05:44:27 cgd Exp $
*/
#ifndef _MACHTYPES_H_
@ -57,6 +57,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;

View File

@ -53,6 +53,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)types.h 8.3 (Berkeley) 1/5/94
* $Id: types.h,v 1.4 1994/05/27 09:02:34 glass Exp $
* $Id: types.h,v 1.5 1994/07/20 05:44:27 cgd Exp $
*/
#ifndef _MACHTYPES_H_
@ -57,6 +57,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;

View File

@ -42,7 +42,7 @@
* @(#)types.h 8.1 (Berkeley) 6/11/93
*
* from: Header: types.h,v 1.5 92/11/26 02:00:07 torek Exp (LBL)
* $Id: types.h,v 1.2 1994/05/24 02:17:47 deraadt Exp $
* $Id: types.h,v 1.3 1994/07/20 05:44:29 cgd Exp $
*/
#ifndef _MACHTYPES_H_
@ -65,6 +65,7 @@ typedef unsigned long vm_size_t;
* Basic integral types. Omit the typedef if
* not possible for a machine/compiler combination.
*/
#define __BIT_TYPES_DEFINED__
typedef __signed char int8_t;
typedef unsigned char u_int8_t;
typedef short int16_t;