SYMBIAN: Rename define and rephrase comments

This commit is contained in:
Willem Jan Palenstijn 2015-09-14 22:43:01 +02:00
parent c7aa5cb995
commit bf822e7dc0
2 changed files with 8 additions and 8 deletions

View File

@ -58,9 +58,10 @@ 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
// Hide the macro "remove" defined in unistd.h from anywere except where
// we explicitly require it. This lets us use the name "remove" in engines.
// Must be after including unistd.h .
#ifndef SYMBIAN_USE_SYSTEM_REMOVE
#undef remove
#endif

View File

@ -20,11 +20,10 @@
*
*/
/* This definition fixes compilation error for Symbian due conflict between
* builting macro "remove" and various functions named "remove" in engines.
* Should be before including scummsys.h
*/
#define USE_SYSTEM_REMOVE
// This define lets us use the system function remove() on Symbian, which
// is disabled by default due to a macro conflict.
// See backends/platform/symbian/src/portdefs.h .
#define SYMBIAN_USE_SYSTEM_REMOVE
#include "common/scummsys.h"