mescc: Mes C Library: div: Avoid __raise for TinyCC.

* lib/mes/div.c (__raise)[__TINYC__]: New macro.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-11-22 21:01:21 +01:00
parent ede49daabb
commit ddd8349827
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -33,6 +33,10 @@ struct ldiv_t
int __raise (int); int __raise (int);
#if __TINYC__
#define __raise(x) -1
#endif
void void
__mesabi_div0 (void) __mesabi_div0 (void)
{ {