14 lines
260 B
C
14 lines
260 B
C
|
#pragma once
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#ifndef dprintf
|
||
|
/// Debug Output API
|
||
|
#define dprintf(fmt,args...) printf(fmt,##args)
|
||
|
#endif /// End of dprintf
|
||
|
#else
|
||
|
#ifndef dprintf
|
||
|
/// Debug Output API
|
||
|
#define dprintf(fmt,args...)
|
||
|
#endif /// End of dprintf
|
||
|
#endif /// End of DEBUG
|