Files
Zorro-LAN-IDE/Driver/baxnet/source/debug.h
T

27 lines
391 B
C

/*
debug.h
(C) 2018 Henryk Richter <henryk.richter@gmx.net>
Debugging Macros
*/
#ifndef _INC_DEBUG_H
#define _INC_DEBUG_H
#ifdef DEBUG
#include <clib/exec_protos.h>
extern void KPrintF(char *, ...), KGetChar(void);
#define D(_x_) do { KPrintF("%s:%ld:",__FILE__,__LINE__); KPrintF _x_; } while(0)
#else /* DEBUG */
#define D(x)
#endif /* DEBUG */
#endif /* _INC_DEBUG_H */