From d065a0039d42f1bddd4d0957535c67602615dc20 Mon Sep 17 00:00:00 2001 From: Lassi Kortela Date: Sun, 18 Aug 2019 13:40:25 +0300 Subject: [PATCH] Define float_t and double_t for Watcom C --- c/dtypes.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/c/dtypes.h b/c/dtypes.h index 8db7a4c..c0cf9a7 100644 --- a/c/dtypes.h +++ b/c/dtypes.h @@ -16,6 +16,11 @@ #undef BITS32 // TODO #define BITS64 // TODO +#ifdef __WATCOMC__ +typedef float float_t; +typedef double double_t; +#endif + #ifdef __GNUC__ #define EXTERN_NORETURN(ret, args) extern ret args __attribute__((__noreturn__)) #define STATIC_NORETURN(ret, args) static ret args __attribute__((__noreturn__))