Commit 9f0683d9f56656bbd75805e860239f9897a8a6ea
1 parent
e140e05c
Include qemu-timer.h iff DEBUG is defined.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
7 additions
and
0 deletions
hw/adlib.c
@@ -21,13 +21,20 @@ | @@ -21,13 +21,20 @@ | ||
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
22 | * THE SOFTWARE. | 22 | * THE SOFTWARE. |
23 | */ | 23 | */ |
24 | + | ||
24 | #include <assert.h> | 25 | #include <assert.h> |
25 | #include "hw.h" | 26 | #include "hw.h" |
26 | #include "audiodev.h" | 27 | #include "audiodev.h" |
27 | #include "audio/audio.h" | 28 | #include "audio/audio.h" |
28 | 29 | ||
30 | +//#define DEBUG | ||
31 | + | ||
29 | #define ADLIB_KILL_TIMERS 1 | 32 | #define ADLIB_KILL_TIMERS 1 |
30 | 33 | ||
34 | +#ifdef DEBUG | ||
35 | +#include "qemu-timer.h" | ||
36 | +#endif | ||
37 | + | ||
31 | #define dolog(...) AUD_log ("adlib", __VA_ARGS__) | 38 | #define dolog(...) AUD_log ("adlib", __VA_ARGS__) |
32 | #ifdef DEBUG | 39 | #ifdef DEBUG |
33 | #define ldebug(...) dolog (__VA_ARGS__) | 40 | #define ldebug(...) dolog (__VA_ARGS__) |