aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-16 22:45:23 +0000
committerFilippos Karapetis2009-02-16 22:45:23 +0000
commit6ec40aa9f64101c82daa621610bb9d66a85b4001 (patch)
tree3a072176fab27dd1f642179ffa4fb068776d6a9b /engines/sci/include/resource.h
parentdbb8ad9da18a4289071bec086f64b8e79f92fb19 (diff)
downloadscummvm-rg350-6ec40aa9f64101c82daa621610bb9d66a85b4001.tar.gz
scummvm-rg350-6ec40aa9f64101c82daa621610bb9d66a85b4001.tar.bz2
scummvm-rg350-6ec40aa9f64101c82daa621610bb9d66a85b4001.zip
Removed unused code and defines
svn-id: r38385
Diffstat (limited to 'engines/sci/include/resource.h')
-rw-r--r--engines/sci/include/resource.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h
index 1c632e1ae4..b64c02e4d2 100644
--- a/engines/sci/include/resource.h
+++ b/engines/sci/include/resource.h
@@ -55,13 +55,9 @@
/*#define _SCI_RESOURCE_DEBUG */
/*#define _SCI_DECOMPRESS_DEBUG*/
-#ifndef WITH_DMALLOC
-# define SCI_SAFE_ALLOC /* Undefine for debugging */
-#endif
//TODO: Remove these defines by replacing their functionality by their ScummVM counterparts
#define HAVE_MEMCHR
-#define HAVE_UNLINK
#define HAVE_RMDIR
#define HAVE_FCNTL_H
#ifndef _MSC_VER
@@ -352,11 +348,7 @@ It uses StrAt() to read the individual elements, so we must determine
whether a string is really a string or an array. */
int is_print_str(char *str);
-#ifdef HAVE_UNLINK
# define sci_unlink unlink
-#else /* !HAVE_UNLINK */
-# error "Please provide an int sci_unlink(const char *) for removing filesystem entries"
-#endif /* !HAVE_UNLINK */
#ifdef HAVE_RMDIR
# define sci_rmdir rmdir