mirror of https://github.com/stella-emu/stella.git
Some fixes for compilation using Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1212 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
0bac94e94f
commit
23482b6d4c
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: DebuggerParser.cxx,v 1.92 2006-12-08 16:48:59 stephena Exp $
|
// $Id: DebuggerParser.cxx,v 1.93 2006-12-14 00:07:47 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
@ -939,7 +939,7 @@ void DebuggerParser::executeHelp()
|
||||||
static char buf[256];
|
static char buf[256];
|
||||||
for(int i = 0; i < kNumCommands; ++i)
|
for(int i = 0; i < kNumCommands; ++i)
|
||||||
{
|
{
|
||||||
snprintf(buf, 255, "%13s - %s\n",
|
SNPRINTF(buf, 255, "%13s - %s\n",
|
||||||
commands[i].cmdString.c_str(),
|
commands[i].cmdString.c_str(),
|
||||||
commands[i].description.c_str());
|
commands[i].description.c_str());
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// See the file "license" for information on usage and redistribution of
|
// See the file "license" for information on usage and redistribution of
|
||||||
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
||||||
//
|
//
|
||||||
// $Id: bspf.hxx,v 1.13 2006-01-08 02:28:03 stephena Exp $
|
// $Id: bspf.hxx,v 1.14 2006-12-14 00:07:47 stephena Exp $
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
|
||||||
#ifndef BSPF_HXX
|
#ifndef BSPF_HXX
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
that need to be defined for different operating systems.
|
that need to be defined for different operating systems.
|
||||||
|
|
||||||
@author Bradford W. Mott
|
@author Bradford W. Mott
|
||||||
@version $Id: bspf.hxx,v 1.13 2006-01-08 02:28:03 stephena Exp $
|
@version $Id: bspf.hxx,v 1.14 2006-12-14 00:07:47 stephena Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Types for 8-bit signed and unsigned integers
|
// Types for 8-bit signed and unsigned integers
|
||||||
|
@ -78,11 +78,13 @@ typedef unsigned int uInt32;
|
||||||
#define STR_CASE_CMP stricmp
|
#define STR_CASE_CMP stricmp
|
||||||
#define STR_N_CASE_CMP strnicmp
|
#define STR_N_CASE_CMP strnicmp
|
||||||
#define IS_BLANK(c) ((c == ' ') || (c == '\t'))
|
#define IS_BLANK(c) ((c == ' ') || (c == '\t'))
|
||||||
|
#define SNPRINTF _snprintf
|
||||||
#define VSNPRINTF _vsnprintf
|
#define VSNPRINTF _vsnprintf
|
||||||
#else
|
#else
|
||||||
#define STR_CASE_CMP strcasecmp
|
#define STR_CASE_CMP strcasecmp
|
||||||
#define STR_N_CASE_CMP strncasecmp
|
#define STR_N_CASE_CMP strncasecmp
|
||||||
#define IS_BLANK(c) isblank(c)
|
#define IS_BLANK(c) isblank(c)
|
||||||
|
#define SNPRINTF snprintf
|
||||||
#define VSNPRINTF vsnprintf
|
#define VSNPRINTF vsnprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -497,6 +497,9 @@ SDLmain.lib
|
||||||
<File
|
<File
|
||||||
RelativePath="..\emucore\Random.cxx">
|
RelativePath="..\emucore\Random.cxx">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\common\RectList.cxx">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\debugger\gui\RomListWidget.cxx">
|
RelativePath="..\debugger\gui\RomListWidget.cxx">
|
||||||
</File>
|
</File>
|
||||||
|
@ -997,6 +1000,9 @@ SDLmain.lib
|
||||||
<File
|
<File
|
||||||
RelativePath="..\emucore\Random.hxx">
|
RelativePath="..\emucore\Random.hxx">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath="..\common\RectList.hxx">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\debugger\gui\RomListWidget.hxx">
|
RelativePath="..\debugger\gui\RomListWidget.hxx">
|
||||||
</File>
|
</File>
|
||||||
|
|
Loading…
Reference in New Issue