ALL: Make use of defined() for the preprocessor consistent.
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
This commit is contained in:
parent
2c0bd426fc
commit
223794fb38
26 changed files with 41 additions and 41 deletions
|
@ -68,7 +68,7 @@ static const char HELP_STRING[] =
|
|||
" -z, --list-games Display list of supported games and exit\n"
|
||||
" -t, --list-targets Display list of configured targets and exit\n"
|
||||
" --list-saves=TARGET Display a list of savegames for the game (TARGET) specified\n"
|
||||
#if defined (WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
" --console Enable the console window (default:enabled)\n"
|
||||
#endif
|
||||
"\n"
|
||||
|
@ -155,7 +155,7 @@ static void usage(const char *s, ...) {
|
|||
vsnprintf(buf, STRINGBUFLEN, s, va);
|
||||
va_end(va);
|
||||
|
||||
#if !(defined(__GP32__) || defined (__SYMBIAN32__) || defined(__DS__))
|
||||
#if !(defined(__GP32__) || defined(__SYMBIAN32__) || defined(__DS__))
|
||||
printf(USAGE_STRING, s_appName, buf, s_appName, s_appName);
|
||||
#endif
|
||||
exit(1);
|
||||
|
@ -557,7 +557,7 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
|
|||
END_OPTION
|
||||
#endif
|
||||
|
||||
#if defined (WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__SYMBIAN32__)
|
||||
// Optional console window on Windows (default: enabled)
|
||||
DO_LONG_OPTION_BOOL("console")
|
||||
END_OPTION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue