changeset 30647:cd9b192e2e2b

Only #define WIN32_LOADER if it has not been #defined already, fixes warning: loader/win32.c:27:1: warning: "WIN32_LOADER" redefined
author diego
date Sun, 21 Feb 2010 22:14:11 +0000
parents 07a7bc5f94a8
children 74d39bc2b2c4
files loader/win32.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Sun Feb 21 21:00:08 2010 +0000
+++ b/loader/win32.c	Sun Feb 21 22:14:11 2010 +0000
@@ -24,7 +24,9 @@
 
 /* Hack to make sure the correct function declaration in com.h is used when
  * this file is built for the test applications with WIN32_LOADER disabled. */
+#ifndef WIN32_LOADER
 #define WIN32_LOADER
+#endif
 
 #ifdef CONFIG_QTX_CODECS
 #define PSEUDO_SCREEN_WIDTH	/*640*/800