aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-16 23:28:24 +0000
committerFilippos Karapetis2009-02-16 23:28:24 +0000
commita3adca29f22ecebdd2a3d5388d5fe22327f73ec7 (patch)
tree62241625db7cb1fde9507fea1fc04f81b63c4073 /engines/sci/include/resource.h
parentd61b83814b9295d6fc4192344a96422fed2fe07d (diff)
downloadscummvm-rg350-a3adca29f22ecebdd2a3d5388d5fe22327f73ec7.tar.gz
scummvm-rg350-a3adca29f22ecebdd2a3d5388d5fe22327f73ec7.tar.bz2
scummvm-rg350-a3adca29f22ecebdd2a3d5388d5fe22327f73ec7.zip
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
Diffstat (limited to 'engines/sci/include/resource.h')
-rw-r--r--engines/sci/include/resource.h12
1 files changed, 0 insertions, 12 deletions
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);