diff --git a/src/debug/Makefile.am b/src/debug/Makefile.am index a939db12..dfee7924 100644 --- a/src/debug/Makefile.am +++ b/src/debug/Makefile.am @@ -1,5 +1,4 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -EXTRA_DIST = debug_win32.cpp noinst_LIBRARIES = libdebug.a -libdebug_a_SOURCES = debug.cpp debug_gui.cpp debug_disasm.cpp debug_inc.h disasm_tables.h \ No newline at end of file +libdebug_a_SOURCES = debug.cpp debug_gui.cpp debug_disasm.cpp debug_inc.h disasm_tables.h debug_win32.cpp \ No newline at end of file diff --git a/src/debug/debug_win32.cpp b/src/debug/debug_win32.cpp index 28f94711..33c1ea54 100644 --- a/src/debug/debug_win32.cpp +++ b/src/debug/debug_win32.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2002 The DOSBox Team + * Copyright (C) 2002-2003 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef WIN32 + #include #include #include @@ -70,5 +72,4 @@ void WIN32_Console() { } - - +#endif