diff options
Diffstat (limited to 'runtime/stpd/librelay.h')
-rw-r--r-- | runtime/stpd/librelay.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/stpd/librelay.h b/runtime/stpd/librelay.h index 371ddfbd..71150858 100644 --- a/runtime/stpd/librelay.h +++ b/runtime/stpd/librelay.h @@ -1,5 +1,11 @@ #include "../transport/transport_msgs.h" +#ifdef DEBUG +#define dbug(args...) {printf("%s:%d ",__FUNCTION__, __LINE__); printf(args); } +#else +#define dbug(args...) ; +#endif /* DEBUG */ + /* * stp external API functions */ |