From 00742af3a6f6d25fbd3b3b77744e8f39a8c14c71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 26 Aug 2013 02:53:29 +0200 Subject: OS compatibility and generic cleanup. Removed bspatch/patchlib Now builds and runs on Windows --- logic/LegacyUpdate.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'logic/LegacyUpdate.cpp') diff --git a/logic/LegacyUpdate.cpp b/logic/LegacyUpdate.cpp index 0dc8ee72..e259a674 100644 --- a/logic/LegacyUpdate.cpp +++ b/logic/LegacyUpdate.cpp @@ -161,10 +161,12 @@ void LegacyUpdate::extractLwjgl() { #ifdef Q_OS_WIN32 QString nativesDir = "windows"; -#elif Q_OS_MAC - QString nativesDir = "macosx"; #else + #ifdef Q_OS_MAC + QString nativesDir = "macosx"; + #else QString nativesDir = "linux"; + #endif #endif if (name.contains(nativesDir)) { -- cgit v1.2.3