Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Remove High Sierra build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack committed Aug 21, 2018
1 parent 254299a commit 57265be
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/qt/feirm.cpp
Expand Up @@ -572,18 +572,6 @@ int main(int argc, char* argv[])
initTranslations(qtTranslatorBase, qtTranslator, translatorBase, translator);
uiInterface.Translate.connect(Translate);

#ifdef Q_OS_MAC
#if __clang_major__ < 4
QString s = QSysInfo::kernelVersion();
std::string ver_info = s.toStdString();
// ver_info will be like 17.2.0 for High Sierra. Check if true and exit if build via cross-compile
if (ver_info[0] == '1' && ver_info[1] == '7') {
QMessageBox::critical(0, "Unsupported", BitcoinGUI::tr("High Sierra not supported with this build") + QString("\n\n"));
::exit(1);
}
#endif
#endif

// Show help message immediately after parsing command-line options (for "-lang") and setting locale,
// but before showing splash screen.
if (mapArgs.count("-?") || mapArgs.count("-help") || mapArgs.count("-version")) {
Expand Down

0 comments on commit 57265be

Please sign in to comment.