Include qemu-timer.h iff DEBUG is defined.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-12-02 17:47:33 +00:00
parent e140e05cbc
commit 9f0683d9f5

View File

@ -21,13 +21,20 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include <assert.h> #include <assert.h>
#include "hw.h" #include "hw.h"
#include "audiodev.h" #include "audiodev.h"
#include "audio/audio.h" #include "audio/audio.h"
//#define DEBUG
#define ADLIB_KILL_TIMERS 1 #define ADLIB_KILL_TIMERS 1
#ifdef DEBUG
#include "qemu-timer.h"
#endif
#define dolog(...) AUD_log ("adlib", __VA_ARGS__) #define dolog(...) AUD_log ("adlib", __VA_ARGS__)
#ifdef DEBUG #ifdef DEBUG
#define ldebug(...) dolog (__VA_ARGS__) #define ldebug(...) dolog (__VA_ARGS__)