From fcc62a1e1fdbc0612fcb4272df2fd7193be7ff1e Mon Sep 17 00:00:00 2001 From: Gavin Bisesi Date: Wed, 25 Jun 2014 17:09:17 -0400 Subject: [PATCH] Use defined(Q_OS_WIN) in #elif to satisfy MSVC It's always windows. --- cockatrice/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/main.cpp b/cockatrice/src/main.cpp index 370c1b1a..c618c1ae 100644 --- a/cockatrice/src/main.cpp +++ b/cockatrice/src/main.cpp @@ -100,7 +100,7 @@ int main(int argc, char *argv[]) if (translationPath.isEmpty()) { #ifdef Q_OS_MAC translationPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath); -#elif Q_OS_WIN +#elif defined(Q_OS_WIN) translationPath = app.applicationDirPath() + "/translations"; #endif }