From: ths Date: Sun, 2 Dec 2007 17:47:33 +0000 (+0000) Subject: Include qemu-timer.h iff DEBUG is defined. X-Git-Tag: release_0_9_1~130 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f0683d9f56656bbd75805e860239f9897a8a6ea;p=thirdparty%2Fqemu.git Include qemu-timer.h iff DEBUG is defined. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/adlib.c b/hw/adlib.c index cbe8300ec64..1376db919f1 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -21,13 +21,20 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + #include #include "hw.h" #include "audiodev.h" #include "audio/audio.h" +//#define DEBUG + #define ADLIB_KILL_TIMERS 1 +#ifdef DEBUG +#include "qemu-timer.h" +#endif + #define dolog(...) AUD_log ("adlib", __VA_ARGS__) #ifdef DEBUG #define ldebug(...) dolog (__VA_ARGS__)