diff gen/toobj.cpp @ 1453:f35a9a77d256

More tweaks.
author Robert Clipsham <robert@octarineparrot.com>
date Mon, 01 Jun 2009 18:58:21 +0100
parents 402bffb1b356
children 7b218ec1044f
line wrap: on
line diff
--- a/gen/toobj.cpp	Sat May 30 17:23:32 2009 +0100
+++ b/gen/toobj.cpp	Mon Jun 01 18:58:21 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();