Define float_t and double_t for Watcom C
This commit is contained in:
parent
9571262535
commit
d065a0039d
|
@ -16,6 +16,11 @@
|
||||||
#undef BITS32 // TODO
|
#undef BITS32 // TODO
|
||||||
#define BITS64 // TODO
|
#define BITS64 // TODO
|
||||||
|
|
||||||
|
#ifdef __WATCOMC__
|
||||||
|
typedef float float_t;
|
||||||
|
typedef double double_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define EXTERN_NORETURN(ret, args) extern ret args __attribute__((__noreturn__))
|
#define EXTERN_NORETURN(ret, args) extern ret args __attribute__((__noreturn__))
|
||||||
#define STATIC_NORETURN(ret, args) static ret args __attribute__((__noreturn__))
|
#define STATIC_NORETURN(ret, args) static ret args __attribute__((__noreturn__))
|
||||||
|
|
Loading…
Reference in New Issue