comparison dmd/root/port.h @ 1367:8026319762be

Merged DMD 1.045 !!!
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 22:21:31 +0200
parents e961851fb8be
children
comparison
equal deleted inserted replaced
1366:81121ac19f61 1367:8026319762be
16 #include <wchar.h> 16 #include <wchar.h>
17 17
18 #if _MSC_VER 18 #if _MSC_VER
19 typedef __int64 longlong; 19 typedef __int64 longlong;
20 typedef unsigned __int64 ulonglong; 20 typedef unsigned __int64 ulonglong;
21
22 // According to VC 8.0 docs, long double is the same as double
23 #define strtold strtod
24 #define strtof strtod
25
21 #else 26 #else
22 typedef long long longlong; 27 typedef long long longlong;
23 typedef unsigned long long ulonglong; 28 typedef unsigned long long ulonglong;
24 #endif 29 #endif
25 30
31 { 36 {
32 static double nan; 37 static double nan;
33 static double infinity; 38 static double infinity;
34 static double dbl_max; 39 static double dbl_max;
35 static double dbl_min; 40 static double dbl_min;
41 static long double ldbl_max;
36 42
37 #if __GNUC__ 43 #if __GNUC__
38 // These conflict with macros in math.h, should rename them 44 // These conflict with macros in math.h, should rename them
39 #undef isnan 45 #undef isnan
40 #undef isfinite 46 #undef isfinite