comparison dmd/mtype.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 d9d5d59873d8
children 2b72433d5c8c
comparison
equal deleted inserted replaced
284:70c370e97944 285:297690b5d4a5
23 #include <malloc.h> 23 #include <malloc.h>
24 #include <complex> 24 #include <complex>
25 #include <limits> 25 #include <limits>
26 #elif __DMC__ 26 #elif __DMC__
27 #include <complex.h> 27 #include <complex.h>
28 #elif __MINGW32__
29 #include <malloc.h>
28 #else 30 #else
29 //#define signbit 56 31 //#define signbit 56
30 #endif 32 #endif
31 33
32 #if __APPLE__ 34 #if __APPLE__
35 #include <math.h>
36 static double zero = 0;
37 #elif __MINGW32__
33 #include <math.h> 38 #include <math.h>
34 static double zero = 0; 39 static double zero = 0;
35 #elif __GNUC__ 40 #elif __GNUC__
36 #include <math.h> 41 #include <math.h>
37 #include <bits/nan.h> 42 #include <bits/nan.h>