diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 17:47:33 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-12-02 17:47:33 +0000 |
commit | 9f0683d9f56656bbd75805e860239f9897a8a6ea (patch) | |
tree | 81f4a46716fcc34c9ddc45d36db036ce3d00f6fd /hw | |
parent | e140e05cbc01d2f15a558331f66fb4bffe03f54a (diff) |
Include qemu-timer.h iff DEBUG is defined.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/adlib.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hw/adlib.c b/hw/adlib.c index cbe8300ec6..1376db919f 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 <assert.h> #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__) |