From 550e61640f4686b639d6289b142ad01b00dd62b6 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Wed, 12 Apr 2006 18:52:50 +0000 Subject: [PATCH] keep it compiling with msvc. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2594 --- src/gui/sdlmain.cpp | 4 ++-- src/hardware/hardware.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/sdlmain.cpp b/src/gui/sdlmain.cpp index cb7b4999..3e5ad1d1 100644 --- a/src/gui/sdlmain.cpp +++ b/src/gui/sdlmain.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: sdlmain.cpp,v 1.114 2006-04-11 19:02:33 qbix79 Exp $ */ +/* $Id: sdlmain.cpp,v 1.115 2006-04-12 18:52:50 qbix79 Exp $ */ #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -206,7 +206,7 @@ struct SDL_Block { static SDL_Block sdl; -extern char * RunningProgram; +extern const char* RunningProgram; extern bool CPU_CycleAuto; //Globals for keyboard initialisation bool startup_state_numlock=false; diff --git a/src/hardware/hardware.cpp b/src/hardware/hardware.cpp index f1460381..13f4e06e 100644 --- a/src/hardware/hardware.cpp +++ b/src/hardware/hardware.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: hardware.cpp,v 1.16 2006-03-29 13:51:58 harekiet Exp $ */ +/* $Id: hardware.cpp,v 1.17 2006-04-12 18:52:50 qbix79 Exp $ */ #include #include @@ -37,7 +37,7 @@ #endif static char * capturedir; -extern char * RunningProgram; +extern const char* RunningProgram; Bitu CaptureState; #define WAVE_BUF 16*1024