From ae4ec1a06d5b4c9bcb5647cf555aafd4e5f800f7 Mon Sep 17 00:00:00 2001 From: Bartek GÄ…siorzewski <g.bartek@gmail.com> Date: Mon, 07 May 2018 20:11:57 +0000 Subject: [PATCH] Exit with nonzero status on error --- src/box.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/box.h b/src/box.h index 31dd22c..0aa0c59 100644 --- a/src/box.h +++ b/src/box.h @@ -1,6 +1,11 @@ #ifndef BOX_H #define BOX_H +#ifdef _DEBUG +#include <stdlib.h> +#include <crtdbg.h> +#endif + #ifdef YOLODLL_EXPORTS #if defined(_MSC_VER) #define YOLODLL_API __declspec(dllexport) -- Gitblit v1.10.0