comparison dmd/lexer.c @ 1431:5f6f0929ee4c

Define __C99FEATURES__ in lexer.c for Solaris. Fixes #313.
author Christian Kamm <kamm incasoftware de>
date Sat, 30 May 2009 12:47:35 +0200
parents 8026319762be
children def7a1d494fd
comparison
equal deleted inserted replaced
1428:c6cc9cf12bec 1431:5f6f0929ee4c
5 // written by Walter Bright 5 // written by Walter Bright
6 // http://www.digitalmars.com 6 // http://www.digitalmars.com
7 // License for redistribution is by either the Artistic License 7 // License for redistribution is by either the Artistic License
8 // in artistic.txt, or the GNU General Public License in gnu.txt. 8 // in artistic.txt, or the GNU General Public License in gnu.txt.
9 // See the included readme.txt for details. 9 // See the included readme.txt for details.
10
11 #if __sun && __SVR4
12 #define __C99FEATURES__ 1 // Needed on Solaris for NaN and more, LDC#313
13 #endif
10 14
11 #if IN_LLVM 15 #if IN_LLVM
12 #include <cmath> 16 #include <cmath>
13 #endif 17 #endif
14 18