More Win32 issues (have I ever mentioned I really hate Windows).

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@684 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2005-07-20 17:49:26 +00:00
parent a61598a33b
commit a7744a466c
2 changed files with 6 additions and 4 deletions

View File

@ -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];

View File

@ -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