Add #else to avoid warning

This commit is contained in:
Alexander Karatarakis 2016-11-15 17:54:44 -08:00
parent b88c51bb7e
commit 42df44ca7b

View File

@ -10,8 +10,9 @@ namespace vcpkg {namespace Checks
System::println(System::color::error, "Error: Unreachable code was reached");
#ifndef NDEBUG
std::abort();
#endif
#else
exit(EXIT_FAILURE);
#endif
}
void exit_with_message(const char* errorMessage)