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 */