From a3adca29f22ecebdd2a3d5388d5fe22327f73ec7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 16 Feb 2009 23:28:24 +0000 Subject: Removed a lot of unused and compiler-specific debug code. Note that for MSVC, the corresponding checks are enabled by default in the debug build, so there's no need to set them again programmatically. Also, removed the "codebugging" related code svn-id: r38387 --- engines/sci/include/resource.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'engines/sci/include/resource.h') diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h index b64c02e4d2..2629fa5a33 100644 --- a/engines/sci/include/resource.h +++ b/engines/sci/include/resource.h @@ -58,7 +58,6 @@ //TODO: Remove these defines by replacing their functionality by their ScummVM counterparts #define HAVE_MEMCHR -#define HAVE_RMDIR #define HAVE_FCNTL_H #ifndef _MSC_VER #define HAVE_UNISTD_H @@ -154,8 +153,6 @@ putInt16(byte* dest, int src) { ** (int) src: value to write */ -#define SCI_MEMTEST memtest(__FILE__, __LINE__) - /*-- queues --*/ typedef struct _sci_queue_node { @@ -349,16 +346,7 @@ whether a string is really a string or an array. */ int is_print_str(char *str); # define sci_unlink unlink - -#ifdef HAVE_RMDIR # define sci_rmdir rmdir -#else /* !HAVE_RMDIR */ -# ifdef WIN32 -# define sci_rmdir _rmdir -# else -# error "Please provide an int sci_rmdir(const char *) for removing directories" -# endif -#endif /* !HAVE_RMDIR */ #ifndef HAVE_FFS int sci_ffs(int _mask); -- cgit v1.2.3