Commit 2ff0bcea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

msg_...: default value for MODULE_STRING

This was often confusing external plugin authors.
parent 5007283a
......@@ -77,6 +77,10 @@ VLC_API void vlc_vaLog(vlc_object_t *, int,
#define msg_Dbg( p_this, ... ) \
vlc_Log( VLC_OBJECT(p_this), VLC_MSG_DBG, MODULE_STRING, __VA_ARGS__ )
#ifndef MODULE_STRING
# define MODULE_STRING __FILE__
#endif
/**
* @}
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment