# HG changeset patch # User Christian Kamm # Date 1243680471 -7200 # Node ID 42e6af9d50a16e7ea11db7e1ca775032f6a5c7f8 # Parent 3c880e2d80e75253e38fac3604cda7d9fa02e55c# Parent 5f6f0929ee4c038cbfba0a7d4ee261debbe73268 Automated merge with http://hg.dsource.org/projects/ldc diff -r 3c880e2d80e7 -r 42e6af9d50a1 dmd/lexer.c --- a/dmd/lexer.c Fri May 29 01:09:38 2009 -0600 +++ b/dmd/lexer.c Sat May 30 12:47:51 2009 +0200 @@ -8,6 +8,10 @@ // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details. +#if __sun && __SVR4 +#define __C99FEATURES__ 1 // Needed on Solaris for NaN and more, LDC#313 +#endif + #if IN_LLVM #include #endif