From 5e0fa78d61931e26e42bbd8bf5aebfb87f331475 Mon Sep 17 00:00:00 2001 From: obarthel Date: Sun, 4 Dec 2016 11:12:42 +0100 Subject: [PATCH] Only builds with GCC now --- library/stdlib_lldiv.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/library/stdlib_lldiv.c b/library/stdlib_lldiv.c index 3714f84..ba5dbbf 100644 --- a/library/stdlib_lldiv.c +++ b/library/stdlib_lldiv.c @@ -37,6 +37,10 @@ /****************************************************************************/ +#if defined(__GNUC__) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) + +/****************************************************************************/ + lldiv_t lldiv(long long n,long long d) { @@ -49,3 +53,7 @@ lldiv(long long n,long long d) return(result); } + +/****************************************************************************/ + +#endif