diff --git a/zsnes/src/debug.c b/zsnes/src/debug.c new file mode 100644 index 00000000..e7d6f31e --- /dev/null +++ b/zsnes/src/debug.c @@ -0,0 +1,45 @@ +/* +Copyright (C) 1997-2005 ZSNES Team ( zsKnight, _Demo_, pagefault, Nach ) + +http://www.zsnes.com +http://sourceforge.net/projects/zsnes + +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 the Free Software Foundation; either +version 2 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + + + +#ifdef __LINUX__ +#include "gblhdr.h" +#define DIR_SLASH "/" +#else +#include +#include +#include +#include +#endif +#include "gblvars.h" + +#ifndef __GNUC__ +#define strcasecmp stricmp +#define strncasecmp strnicmp +#endif + +//C++ style code in C +#define bool unsigned char +#define true 1 +#define false 0 +