comparison src/xmms-sid.h @ 427:2ea3005a4b7f

Conditional #definition of _()
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 31 Dec 2006 21:52:00 +0000
parents faf12767a6f1
children b79d319e3054
comparison
equal deleted inserted replaced
426:e4a7235746ec 427:2ea3005a4b7f
215 215
216 void xs_tuneinfo_free(t_xs_tuneinfo *); 216 void xs_tuneinfo_free(t_xs_tuneinfo *);
217 217
218 void xs_error(const char *, ...); 218 void xs_error(const char *, ...);
219 219
220
221 /* For possible i18n support
222 */
223 #ifndef _
220 #define _(x) x 224 #define _(x) x
221 225 #endif
226
227 /* Debugging
228 */
222 #ifndef DEBUG_NP 229 #ifndef DEBUG_NP
223 void XSDEBUG(const char *, ...); 230 void XSDEBUG(const char *, ...);
224 #else 231 #else
225 #ifdef DEBUG 232 #ifdef DEBUG
226 #define XSDEBUG(...) { fprintf(stderr, "XS[%s:%s:%d]: ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); } 233 #define XSDEBUG(...) { fprintf(stderr, "XS[%s:%s:%d]: ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); }