From 090df4eaa63fcc602e3e3e1b00a9389a409453c9 Mon Sep 17 00:00:00 2001 From: diego Date: Thu, 28 Feb 2008 18:31:35 +0000 Subject: TARGET_OS2 is never set, use __OS2__ instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26111 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp_msg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mp_msg.h b/mp_msg.h index 07ff6b8ca6..c47e95484b 100644 --- a/mp_msg.h +++ b/mp_msg.h @@ -111,7 +111,7 @@ int mp_msg_test(int mod, int lev); #include "config.h" -#ifdef TARGET_OS2 +#ifdef __OS2__ // va_start/vsnprintf seems to be broken under OS2 :( #define mp_msg(mod,lev, fmt, args... ) do{if((lev)<=mp_msg_levels[mod]) printf( fmt, ## args );}while(0) #define mp_dbg(mod,lev, args... ) @@ -135,6 +135,6 @@ void mp_msg(int mod, int lev, const char *format, ... ); const char* filename_recode(const char* filename); -#endif /* TARGET_OS2 */ +#endif /* __OS2__ */ #endif /* MPLAYER_MP_MSG_H */ -- cgit v1.2.3