diff --git a/projects/generate b/projects/generate
index b36a9602e5..fc87904b5a 100755
--- a/projects/generate
+++ b/projects/generate
@@ -58,6 +58,7 @@ load_main_data() {
if ($0 == "BEOS" && "'$os'" != "BEOS") { next; }
if ($0 == "WIN32" && "'$os'" != "MINGW" &&
"'$os'" != "CYGWIN" && "'$os'" != "MSVC" ) { next; }
+ if ($0 == "WINCE" && "'$os'" != "WINCE") { next; }
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
diff --git a/projects/langs.vcproj b/projects/langs.vcproj
index ab9690a654..c6d1d41a35 100644
--- a/projects/langs.vcproj
+++ b/projects/langs.vcproj
@@ -416,6 +416,20 @@
/>
+
+
+
+
+
diff --git a/projects/langs_vs80.vcproj b/projects/langs_vs80.vcproj
index 4de7acf98e..ccbd2454df 100644
--- a/projects/langs_vs80.vcproj
+++ b/projects/langs_vs80.vcproj
@@ -424,6 +424,20 @@
/>
+
+
+
+
+
diff --git a/source.list b/source.list
index a8ac13a5bc..6794570407 100644
--- a/source.list
+++ b/source.list
@@ -74,7 +74,6 @@ tgp.cpp
thread.cpp
tile.cpp
#if WIN32
- win32.cpp
#else
#if WINCE
win32.cpp
@@ -90,6 +89,9 @@ vehicle.cpp
viewport.cpp
waypoint.cpp
widget.cpp
+#if WIN32
+ win32.cpp
+#end
window.cpp
# Header Files