changeset 764:8e7d4ddab66d

Forgot D2 versioning on typeinfo change.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 12 Nov 2008 07:23:34 +0100
parents 9a9f403ab399
children f08e0ff8d28c
files gen/typinf.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gen/typinf.cpp	Wed Nov 12 07:22:05 2008 +0100
+++ b/gen/typinf.cpp	Wed Nov 12 07:23:34 2008 +0100
@@ -230,7 +230,11 @@
 
 int TypeBasic::builtinTypeInfo()
 {
+#if DMDV2
     return !mod;
+#else
+    return 1;
+#endif
 }
 
 int TypeDArray::builtinTypeInfo()