projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8605248
)
added enabling debug mode on Android when compiled with 'DEBUG' defined
author
Holger Schemel
<info@artsoft.org>
Mon, 9 Oct 2017 19:34:41 +0000
(21:34 +0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 9 Oct 2017 19:34:41 +0000
(21:34 +0200)
src/libgame/misc.c
patch
|
blob
|
history
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index ed34319f23abc1bdcc3da32a2e569da2efe6785b..bddd38d9a933ce858a53ee3d5c4706192107d35f 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-1003,6
+1003,12
@@
void GetOptions(int argc, char *argv[],
if (*options_left == NULL) /* no options given -- enable verbose mode */
options.verbose = TRUE;
#endif
+#endif
+
+#if DEBUG
+#if defined(PLATFORM_ANDROID)
+ options.debug = TRUE;
+#endif
#endif
while (*options_left)