view loader/debug.h @ 33464:2a25b5db0e7e

Remove useless code. mDisplay is always set, otherwise the GUI wouldn't have been called. Thus, there is neither a need to call XOpenDisplay() nor to check for error.
author ib
date Fri, 03 Jun 2011 14:35:44 +0000
parents a8ea87c71d18
children
line wrap: on
line source

#ifndef MPLAYER_DEBUG_H
#define MPLAYER_DEBUG_H

#ifdef DEBUG
#define TRACE printf
#define dbg_printf printf
#else
#define TRACE(...)
#define dbg_printf(...)
#endif

#endif /* MPLAYER_DEBUG_H */