diff --git a/configure b/configure index f28be4a465..8949cf5440 100755 --- a/configure +++ b/configure @@ -72,6 +72,7 @@ SRCS="`< $ROOT_DIR/source.list tr '\r' '\n' | awk ' 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; } diff --git a/source.list b/source.list index db35bd4e0f..ec563a8577 100644 --- a/source.list +++ b/source.list @@ -71,7 +71,11 @@ thread.cpp tile.cpp #if WIN32 #else - unix.cpp + #if OS2 + os2.cpp + #else + unix.cpp + #end #end vehicle.cpp viewport.cpp