Mercurial > mplayer.hg
view loader/debug.h @ 30398:acb92f578a08
Do not needlessly use (file-)global variables.
Since they also were initialized to a value and non-constant (changed
by ALSA) this might actually have caused bugs.
author | reimar |
---|---|
date | Wed, 27 Jan 2010 18:10:07 +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 */