# HG changeset patch # User Frits van Bommel # Date 1235833775 -3600 # Node ID 4c20df3837f91cc3eff93ee23dbcbcfd7960c7f0 # Parent 132bece5ae6241bd8e9e942148aa802999521884 Preparation for next patch. Don't ask about why this is needed. I hate the preprocessor. Let's just leave it at that. diff -r 132bece5ae62 -r 4c20df3837f9 dmd/mtype.c --- a/dmd/mtype.c Sat Feb 28 13:48:49 2009 +0100 +++ b/dmd/mtype.c Sat Feb 28 16:09:35 2009 +0100 @@ -15,7 +15,7 @@ #include #endif -#include +#include #include #include @@ -38,13 +38,10 @@ #endif #if __APPLE__ -#include static double zero = 0; #elif __MINGW32__ -#include static double zero = 0; #elif __GNUC__ -#include #if !(defined (__SVR4) && defined (__sun)) #include #include @@ -1134,7 +1131,7 @@ // constant folding. volatile d_float80 foo; foo = NAN; - if (signbit(foo)) // signbit sometimes, not always, set + if (std::signbit(foo)) // signbit sometimes, not always, set foo = -foo; // turn off sign bit fvalue = foo; #elif _MSC_VER