From 5deaeee113a58d66b7c0761a9caa5c3bb4ddec95 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 14 Nov 1999 00:07:28 +0000 Subject: [PATCH] Conditionalize bit types definition. --- includes/cf/alphaosf.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h index 16c8fefcb..f7be713cc 100644 --- a/includes/cf/alphaosf.h +++ b/includes/cf/alphaosf.h @@ -20,16 +20,6 @@ * http://www.isc.org for more information. */ -/* Define the basic integer types... */ -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; - -typedef unsigned char u_int8_t; -typedef unsigned short u_int16_t; -typedef unsigned int u_int32_t; -typedef unsigned long u_int64_t; - #include #include #include @@ -48,6 +38,18 @@ extern int h_errno; #include #include +/* Define the basic integer types... */ +#if !defined (__BIT_TYPES_DEFINED__) +typedef char int8_t; +typedef short int16_t; +typedef int int32_t; + +typedef unsigned char u_int8_t; +typedef unsigned short u_int16_t; +typedef unsigned int u_int32_t; +typedef unsigned long u_int64_t; +#endif + /* Varargs stuff... */ #include #define VA_DOTDOTDOT ... -- 2.47.3