(svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp
authortruelight
Wed, 10 Jan 2007 19:13:33 +0000
changeset 5840 a1dba7cd499c
parent 5839 c2c0d03d9098
child 5841 b36d6b560aaa
(svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp
configure
source.list
--- a/configure	Wed Jan 10 19:00:08 2007 +0000
+++ b/configure	Wed Jan 10 19:13:33 2007 +0000
@@ -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	Wed Jan 10 19:00:08 2007 +0000
+++ b/source.list	Wed Jan 10 19:13:33 2007 +0000
@@ -71,7 +71,11 @@
 tile.cpp
 #if WIN32
 #else
-	unix.cpp
+	#if OS2
+		os2.cpp
+	#else
+		unix.cpp
+	#end
 #end
 vehicle.cpp
 viewport.cpp