mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-03 02:53:13 +01:00
Define __C99FEATURES__ in lexer.c for Solaris. Fixes #313.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user