diff dmd/root.h @ 1133:eeb8b95ea92e

Cleanup DMD 1.041 merge.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Mon, 23 Mar 2009 20:26:33 +0100
parents b30fe7e1dbb9
children
line wrap: on
line diff
--- a/dmd/root.h	Mon Mar 23 14:47:51 2009 +0100
+++ b/dmd/root.h	Mon Mar 23 20:26:33 2009 +0100
@@ -38,6 +38,12 @@
 
 #if _MSC_VER
 #include <float.h>  // for _isnan
+#include <malloc.h> // for alloca
+// According to VC 8.0 docs, long double is the same as double
+#define strtold strtod
+#define strtof  strtod
+#define isnan   _isnan
+
 typedef __int64 longlong;
 typedef unsigned __int64 ulonglong;
 #else