diff loader/win32.c @ 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 ed1000201cd0
children 2b93fb595b09
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