aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-03-17 22:02:16 +0100
committerJohannes Schickel2012-03-17 22:02:44 +0100
commit223794fb383637944c3b161c04ecc233a354c9ae (patch)
treed28b6822b93e7ee764c669657368ff38f9b08e97 /base/commandLine.cpp
parent2c0bd426fcd2d965ca5f84fde893719ddfc4c37f (diff)
downloadscummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.tar.gz
scummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.tar.bz2
scummvm-rg350-223794fb383637944c3b161c04ecc233a354c9ae.zip
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.
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r--base/commandLine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index d877c58718..6407ab1c4a 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -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