Define float_t and double_t for Watcom C

This commit is contained in:
Lassi Kortela 2019-08-18 13:40:25 +03:00
parent 9571262535
commit d065a0039d
1 changed files with 5 additions and 0 deletions

View File

@ -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__))