From: David Griffith Date: Fri, 26 May 2023 01:31:54 +0000 (-0700) Subject: Ifdef'ed out stdint.h for Turbo C and put back old typedefs for zbyte, etc. X-Git-Url: https://scope-eye.net/git/?a=commitdiff_plain;h=a1188fd3907278e32e08e90162f8f9e843f8f017;p=liskon_frotz.git Ifdef'ed out stdint.h for Turbo C and put back old typedefs for zbyte, etc. --- diff --git a/src/common/frotz.h b/src/common/frotz.h index 9abae04..abf9dc2 100644 --- a/src/common/frotz.h +++ b/src/common/frotz.h @@ -69,7 +69,10 @@ typedef int bool; /* For everything */ /******************************************************************************/ #include + +#ifndef __TURBOC__ #include +#endif #include "defs.h" #include "hash.h" @@ -102,9 +105,15 @@ typedef int bool; #define PATH_SEPARATOR '/' #endif +#ifdef __TURBOC__ +typedef unsigned char zbyte; +typedef unsigned short zword; +typedef unsigned long zlong; +#else typedef uint8_t zbyte; typedef uint16_t zword; typedef uint32_t zlong; +#endif #ifndef USE_UTF8 typedef unsigned char zchar;