view loader/debug.h @ 33797:d4d29d2329f2

configure: simplify -lm handling Add -lm to extra_ldflags like all other linker flags instead of having a separate variable for it. This simplifies the linker flag handling and should hopefully address Bugzilla #984. Note that this may well have unforeseen sideeffects on strange platforms that I cannot test, but this is clearly the way forward, so any problems will have to fixed as they appear.
author diego
date Wed, 20 Jul 2011 23:54:46 +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 */