exit() -> ::exit()

This commit is contained in:
Alexander Karatarakis 2017-03-22 17:43:49 -07:00
parent 79830d3cac
commit 27bc606020

View File

@ -20,14 +20,14 @@ namespace vcpkg::Checks
#ifndef NDEBUG
std::abort();
#else
exit(EXIT_FAILURE);
::exit(EXIT_FAILURE);
#endif
}
void exit_with_code(const LineInfo& line_info, const int exit_code)
{
print_line_info_if_debug(line_info);
exit(exit_code);
::exit(exit_code);
}
__declspec(noreturn) void exit_with_message(const LineInfo& line_info, const char* errorMessage)