aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-08-23 16:47:54 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-08-24 16:29:41 -0700
commit88d96a3699118cf21f6ec92284eb591db25d3a6a (patch)
tree83d7eca28ed58fa7a032106274fcd34566e06209 /toolsrc/include
parente237682cad4eaa582a10b5ad03a59ca6449e0795 (diff)
downloadvcpkg-88d96a3699118cf21f6ec92284eb591db25d3a6a.tar.gz
vcpkg-88d96a3699118cf21f6ec92284eb591db25d3a6a.zip
Run cleanup before exiting instead of calling atexit
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg_Checks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_Checks.h b/toolsrc/include/vcpkg_Checks.h
index 754b44f75..01cb7209b 100644
--- a/toolsrc/include/vcpkg_Checks.h
+++ b/toolsrc/include/vcpkg_Checks.h
@@ -5,6 +5,8 @@
namespace vcpkg::Checks
{
+ void register_console_ctrl_handler();
+
// Indicate that an internal error has occurred and exit the tool. This should be used when invariants have been
// broken.
[[noreturn]] void unreachable(const LineInfo& line_info);