changeset 1432:42e6af9d50a1

Automated merge with http://hg.dsource.org/projects/ldc
author Christian Kamm <kamm incasoftware de>
date Sat, 30 May 2009 12:47:51 +0200
parents 3c880e2d80e7 (current diff) 5f6f0929ee4c (diff)
children f79971a45bee
files
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <cmath>
 #endif