Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2006-04-03 05:28:43 +0400
committerErwin Coumans <blender@erwincoumans.com>2006-04-03 05:28:43 +0400
commit36f498aae062e6f0a04de22ac6054b988dde7a32 (patch)
treebf5b6dcdb0b69482ef4bd6888a1533470a9b7300 /source/gameengine/GamePlayer
parentd537ce9b25915231c1ff1aeddfa4456b2be8bcab (diff)
made some gfx debug code win32 specific
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 79a5171eec5..2affdfeae18 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -333,9 +333,11 @@ int main(int argc, char** argv)
GEN_init_messaging_system();
// Parse command line options
+#ifdef WIN32
#ifndef NDEBUG
printf("argv[0] = '%s'\n", argv[0]);
#endif
+#endif //WIN32
#ifdef WIN32
@@ -367,9 +369,11 @@ int main(int argc, char** argv)
;)
{
+#ifdef WIN32
#ifndef NDEBUG
printf("argv[%d] = '%s' , %i\n", i, argv[i],argc);
#endif
+#endif //WIN32
if (argv[i][0] == '-')
{
switch (argv[i][1])
@@ -392,9 +396,11 @@ int main(int argc, char** argv)
SYS_WriteCommandLineInt(syshandle, paramname, atoi(argv[i]));
SYS_WriteCommandLineFloat(syshandle, paramname, atof(argv[i]));
SYS_WriteCommandLineString(syshandle, paramname, argv[i]);
+#ifdef WIN32
#ifndef NDEBUG
printf("%s = '%s'\n", paramname, argv[i]);
#endif
+#endif //WIN32
i++;
}
else