Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/dmd/root/port.h Sat May 16 18:37:16 2009 +0200 +++ b/dmd/root/port.h Sat May 16 22:21:31 2009 +0200 @@ -18,6 +18,11 @@ #if _MSC_VER typedef __int64 longlong; typedef unsigned __int64 ulonglong; + +// According to VC 8.0 docs, long double is the same as double +#define strtold strtod +#define strtof strtod + #else typedef long long longlong; typedef unsigned long long ulonglong; @@ -33,6 +38,7 @@ static double infinity; static double dbl_max; static double dbl_min; + static long double ldbl_max; #if __GNUC__ // These conflict with macros in math.h, should rename them