Mercurial > hg > xmms-sid
comparison src/xmms-sid.h @ 101:4614f58ab169 dev-0_8_0b6
Paskaa
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 11 Jan 2004 01:25:01 +0000 |
parents | 426e443240b8 |
children | fe83646e6baa |
comparison
equal
deleted
inserted
replaced
100:426e443240b8 | 101:4614f58ab169 |
---|---|
106 | 106 |
107 /* | 107 /* |
108 * Debugging and error handling macros | 108 * Debugging and error handling macros |
109 */ | 109 */ |
110 #ifdef DEBUG | 110 #ifdef DEBUG |
111 #define XSDEBUG(x...) { fprintf(stderr, "XSDEBUG [%s:%d]: ", __FILE__, (int) __LINE__); fprintf(stderr, ## x); } | 111 #define XSDEBUG(x...) { fprintf(stderr, "XS[%s:%d]: ", __FILE__, (int) __LINE__); fprintf(stderr, ## x); } |
112 #else | 112 #else |
113 #define XSDEBUG(x...) /* foo */ | 113 #define XSDEBUG(x...) /* foo */ |
114 #endif | 114 #endif |
115 | 115 |
116 #define XSERR(x...) { fprintf(stderr, PACKAGE_NAME ": "); fprintf(stderr, ## x); } | 116 #define XSERR(x...) { fprintf(stderr, PACKAGE_NAME ": "); fprintf(stderr, ## x); } |