changeset 5589:c3b1ca996fb5 draft

(svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp
author truelight <truelight@openttd.org>
date Wed, 10 Jan 2007 19:13:33 +0000
parents 52d8dfbbacd4
children 4ade28989b81
files configure source.list
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure
+++ b/configure
@@ -72,6 +72,7 @@
 
 		if ($0 == "SDL"         && "'$sdl_config'" == "")          { next; }
 		if ($0 == "OSX"         && "'$os'" != "OSX")               { next; }
+		if ($0 == "OS2"         && "'$os'" != "OS2")               { next; }
 		if ($0 == "DEDICATED"   && "'$enable_dedicated'" != "1")   { next; }
 		if ($0 == "COCOA"       && "'$with_cocoa'" == "0")         { next; }
 		if ($0 == "BEOS"        && "'$os'" != "BEOS")              { next; }
--- a/source.list
+++ b/source.list
@@ -71,7 +71,11 @@
 tile.cpp
 #if WIN32
 #else
-	unix.cpp
+	#if OS2
+		os2.cpp
+	#else
+		unix.cpp
+	#end
 #end
 vehicle.cpp
 viewport.cpp