diff --git a/stella/src/debugger/Debugger.cxx b/stella/src/debugger/Debugger.cxx index f02131ebd..a22da4596 100644 --- a/stella/src/debugger/Debugger.cxx +++ b/stella/src/debugger/Debugger.cxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: Debugger.cxx,v 1.71 2005-07-20 04:28:13 urchlay Exp $ +// $Id: Debugger.cxx,v 1.72 2005-07-20 17:49:25 stephena Exp $ //============================================================================ #include "bspf.hxx" @@ -198,7 +198,7 @@ string Debugger::loadListFile(string f) { buffer[8] == ' ' && isxdigit(buffer[9]) && isxdigit(buffer[12]) && - isblank(buffer[13])) + IS_BLANK(buffer[13])) { count++; char addr[5]; diff --git a/stella/src/emucore/m6502/src/bspf/src/bspf.hxx b/stella/src/emucore/m6502/src/bspf/src/bspf.hxx index 4a7756d72..17ca5229e 100644 --- a/stella/src/emucore/m6502/src/bspf/src/bspf.hxx +++ b/stella/src/emucore/m6502/src/bspf/src/bspf.hxx @@ -13,7 +13,7 @@ // See the file "license" for information on usage and redistribution of // this file, and for a DISCLAIMER OF ALL WARRANTIES. // -// $Id: bspf.hxx,v 1.7 2005-06-21 01:05:49 stephena Exp $ +// $Id: bspf.hxx,v 1.8 2005-07-20 17:49:26 stephena Exp $ //============================================================================ #ifndef BSPF_HXX @@ -24,7 +24,7 @@ that need to be defined for different operating systems. @author Bradford W. Mott - @version $Id: bspf.hxx,v 1.7 2005-06-21 01:05:49 stephena Exp $ + @version $Id: bspf.hxx,v 1.8 2005-07-20 17:49:26 stephena Exp $ */ // Types for 8-bit signed and unsigned integers @@ -69,9 +69,11 @@ typedef unsigned int uInt32; #ifdef BSPF_WIN32 #define STR_CASE_CMP stricmp #define STR_N_CASE_CMP strnicmp + #define IS_BLANK(c) ((c == ' ') || (c == '\t')) #else #define STR_CASE_CMP strcasecmp #define STR_N_CASE_CMP strncasecmp + #define IS_BLANK(c) isblank(c) #endif #endif