From ddd8349827fead7c0400001329ada3a904f582c1 Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 22 Nov 2020 21:01:21 +0100 Subject: [PATCH] mescc: Mes C Library: div: Avoid __raise for TinyCC. * lib/mes/div.c (__raise)[__TINYC__]: New macro. --- lib/mes/div.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mes/div.c b/lib/mes/div.c index 688fa4dd..a192a96c 100644 --- a/lib/mes/div.c +++ b/lib/mes/div.c @@ -33,6 +33,10 @@ struct ldiv_t int __raise (int); +#if __TINYC__ +#define __raise(x) -1 +#endif + void __mesabi_div0 (void) {