a very simple debugging macro

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7394 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2004-05-03 23:17:40 +00:00
parent 46e6df0fc5
commit 21482d71c1
@@ -0,0 +1,19 @@
/* Intel PRO/1000 Family Driver
* Copyright (C) 2004 Marcus Overhagen <[email protected]>. All rights reserved.
*/
#ifndef __DEBUG_H
#define __DEBUG_H
#include <KernelExport.h>
#define DEBUG
#ifdef DEBUG
#define TRACE(a...) dprintf("ipro1000: " a)
#else
#define TRACE(a...)
#endif
#define ERROR(a...) dprintf("ipro1000: " a)
#endif