Define __C99FEATURES__ in lexer.c for Solaris. Fixes #313.

This commit is contained in:
Christian Kamm
2009-05-30 12:47:35 +02:00
parent 5d4fe64ac2
commit 750260070a

View File

@@ -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