aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian/src/portdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/symbian/src/portdefs.h')
-rw-r--r--backends/platform/symbian/src/portdefs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/symbian/src/portdefs.h b/backends/platform/symbian/src/portdefs.h
index 1fb941963b..f2faa7c878 100644
--- a/backends/platform/symbian/src/portdefs.h
+++ b/backends/platform/symbian/src/portdefs.h
@@ -58,6 +58,12 @@ typedef signed long int int32;
// re-define those data types.
#define SCUMMVM_DONT_DEFINE_TYPES
+// Hiding macro "remove" defined in unistd.h from anywere except default-saves.cpp.
+// Should be after including unistd.h
+#ifndef USE_SYSTEM_REMOVE
+#undef remove
+#endif
+
#define SMALL_SCREEN_DEVICE
#define DISABLE_COMMAND_LINE