mirror of https://github.com/mpv-player/mpv
Remove va_start/vsnprintf workaround for OS/2.
patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26135 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2922e18092
commit
edf9dcba6b
8
mp_msg.h
8
mp_msg.h
|
@ -111,12 +111,6 @@ int mp_msg_test(int mod, int lev);
|
|||
|
||||
#include "config.h"
|
||||
|
||||
#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... )
|
||||
#else
|
||||
|
||||
#ifdef __GNUC__
|
||||
void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4)));
|
||||
# ifdef MP_DEBUG
|
||||
|
@ -135,6 +129,4 @@ void mp_msg(int mod, int lev, const char *format, ... );
|
|||
|
||||
const char* filename_recode(const char* filename);
|
||||
|
||||
#endif /* __OS2__ */
|
||||
|
||||
#endif /* MPLAYER_MP_MSG_H */
|
||||
|
|
Loading…
Reference in New Issue