diff dmd/ClassDeclaration.d @ 114:e28b18c23469

added a module dmd.common for commonly used stuff it currently holds code for consistency checking of predefined versions also added a VisualD project file
author Trass3r
date Wed, 01 Sep 2010 18:21:58 +0200
parents 0c891ec48515
children 767a01c2a272
line wrap: on
line diff
--- a/dmd/ClassDeclaration.d	Tue Aug 31 23:57:32 2010 +0100
+++ b/dmd/ClassDeclaration.d	Wed Sep 01 18:21:58 2010 +0200
@@ -1,5 +1,6 @@
 module dmd.ClassDeclaration;
 
+import dmd.common;
 import dmd.AggregateDeclaration;
 import dmd.InterfaceDeclaration;
 import dmd.ThisDeclaration;
@@ -664,7 +665,7 @@
 
 		if (isCOMclass())
 		{
-version (_WIN32) {
+version (Windows) {
 		sc.linkage = LINK.LINKwindows;
 } else {
 		/* This enables us to use COM objects under Linux and