From f66ff6e3d7401a5038b2578deab3f8af4dd74ffd Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 19 Aug 2015 18:26:04 +0000 Subject: [PATCH] Only compile when in debug mode. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3931 --- src/debug/debug_win32.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/debug/debug_win32.cpp b/src/debug/debug_win32.cpp index 469bec89..0e0d48b5 100644 --- a/src/debug/debug_win32.cpp +++ b/src/debug/debug_win32.cpp @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include "dosbox.h" +#if C_DEBUG #ifdef WIN32 #include @@ -77,3 +79,4 @@ void WIN32_Console() { ResizeConsole(GetStdHandle(STD_OUTPUT_HANDLE),80,50); } #endif +#endif