Mercurial > projects > ldc
comparison dmd/mtype.c @ 1393:04177061f98d
Patch to allow compiling LDC with MinGW, by `mp4 / [1]jaffa` (slightly edited).
Closes #300.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Mon, 18 May 2009 14:02:50 +0200 |
parents | 8026319762be |
children | df11cdec45a2 |
comparison
equal
deleted
inserted
replaced
1392:336faed34424 | 1393:04177061f98d |
---|---|
92 #endif | 92 #endif |
93 | 93 |
94 int Tsize_t = Tuns32; | 94 int Tsize_t = Tuns32; |
95 int Tptrdiff_t = Tint32; | 95 int Tptrdiff_t = Tint32; |
96 | 96 |
97 #if _WIN32 | 97 #if _WIN32 && !defined __MINGW32__ |
98 static double zero = 0; | 98 static double zero = 0; |
99 double Port::nan = NAN; | 99 double Port::nan = NAN; |
100 double Port::infinity = 1/zero; | 100 double Port::infinity = 1/zero; |
101 #endif | 101 #endif |
102 | 102 |