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 }