diff options
Diffstat (limited to 'include/pdp_debug.h')
-rw-r--r-- | include/pdp_debug.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/pdp_debug.h b/include/pdp_debug.h deleted file mode 100644 index a5e48fc..0000000 --- a/include/pdp_debug.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifndef __PDP_DEBUG_H_ -#define __PDP_DEBUG_H_ - -#include "pdp_config.h" // needed for PDP_DEBUG define - -void pdp_assert_hook (char *condition, char *file, int line); - - - -#if PDP_DEBUG -#define PDP_ASSERT(x) if (!(x)) {pdp_assert_hook(#x, __FILE__, __LINE__);} -#else -#define PDP_ASSERT(x) -#endif - -#endif //__PDP_DEBUG_H_ |