From: Bill Shannon Date: Thu, 24 Feb 1983 14:50:05 +0000 (-0800) Subject: make mo re portable X-Git-Tag: BSD-4_1c_2-Snapshot-Development~230 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/37d536843c72abb34ddaa2d44e8f6a41754c13d7?ds=inline make mo re portable SCCS-vsn: old/compact/common_source/compact.h 4.2 --- diff --git a/usr/src/old/compact/common_source/compact.h b/usr/src/old/compact/common_source/compact.h index a06ea9cf53..775c352ede 100644 --- a/usr/src/old/compact/common_source/compact.h +++ b/usr/src/old/compact/common_source/compact.h @@ -1,13 +1,12 @@ -/* compact.h 4.1 83/02/11 */ +/* compact.h 4.2 83/02/23 */ #define VAX 11/780 -#ifdef VAX +#if defined(vax) || defined(sun) typedef int longint; #else typedef long longint; -#include #endif #include @@ -26,13 +25,16 @@ typedef long longint; #define NC 0401 struct charac { - char lob; - char hib; +#if defined(vax) || defined(pdp11) + char lob, hib; +#else + char hib, lob; +#endif }; union cio { struct charac chars; - int integ; + short integ; }; struct fpoint {