chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fixing


From: Peter Bex
Subject: [Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fixing #1062 properly)
Date: Sun, 23 Feb 2014 13:48:45 +0100
User-agent: Mutt/1.4.2.3i

Hi all,

While investigating how to make isnormal() work on Solaris (but before
figuring out we need to define __C99FEATURES__), I came across an
alternate solution involving __builting_isnormal, which apparently
is a GCC builtin that performs the same function as the isnormal()
macro defined in <math.h>.

This builtin seems to work properly on Mingw, so I think it's safe
to undefine the broken isnormal and replace it with the builtin one
on Windows.

Cheers,
Peter
-- 
http://www.more-magic.net

Attachment: 0001-Fix-isnormal-problem-on-MingW-by-using-gcc-builtin-i.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]