mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
Add #else to avoid warning
This commit is contained in:
parent
b88c51bb7e
commit
42df44ca7b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user