diff gen/toobj.cpp @ 1456:7b218ec1044f

Automated merge with http://hg.dsource.org/projects/ldc
author Robert Clipsham <robert@octarineparrot.com>
date Tue, 02 Jun 2009 17:12:37 +0100
parents 83bdf7bed9c5 f35a9a77d256
children 93644700a0b3
line wrap: on
line diff
--- a/gen/toobj.cpp	Mon Jun 01 23:42:42 2009 +0200
+++ b/gen/toobj.cpp	Tue Jun 02 17:12:37 2009 +0100
@@ -620,7 +620,11 @@
         fatal();
     }
     // check for patch
+#if DMDV2
+    else if (moduleinfo->fields.dim != 10)
+#else
     else if (moduleinfo->fields.dim != 9)
+#endif
     {
         error("object.d ModuleInfo class is incorrect");
         fatal();