Mercurial > projects > ldc
comparison dmd/expression.c @ 285:297690b5d4a5 trunk
[svn r306] Fixed: it's now possible to compile and link llvmdc with MinGW32 and msys on Win32 :D I tried it myself ;) Building the runtime still needs some work, but it's a step in the right direction.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 03:14:49 +0200 |
parents | a8cd9bc1021a |
children | 2b72433d5c8c |
comparison
equal
deleted
inserted
replaced
284:70c370e97944 | 285:297690b5d4a5 |
---|---|
15 #include <complex> | 15 #include <complex> |
16 #include <math.h> | 16 #include <math.h> |
17 | 17 |
18 #if _WIN32 && __DMC__ | 18 #if _WIN32 && __DMC__ |
19 extern "C" char * __cdecl __locale_decpoint; | 19 extern "C" char * __cdecl __locale_decpoint; |
20 #endif | |
21 | |
22 #if __MINGW32__ | |
23 #ifndef isnan | |
24 #define isnan _isnan | |
25 #endif | |
20 #endif | 26 #endif |
21 | 27 |
22 #if IN_GCC | 28 #if IN_GCC |
23 // Issues with using -include total.h (defines integer_t) and then complex.h fails... | 29 // Issues with using -include total.h (defines integer_t) and then complex.h fails... |
24 #undef integer_t | 30 #undef integer_t |