From 4d6d2665219d7a8c5b975001b7a4e121066e92f9 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 21 Feb 2010 22:14:11 +0000 Subject: [PATCH] Only #define WIN32_LOADER if it has not been #defined already, fixes warning: loader/win32.c:27:1: warning: "WIN32_LOADER" redefined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30689 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/win32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader/win32.c b/loader/win32.c index b2e88a5a6d..3174c4e17d 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -24,7 +24,9 @@ for DLL to know too much about its environment. /* 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