From a294e3c6919b50a964d6b59a314d551611d37186 Mon Sep 17 00:00:00 2001 From: skarg Date: Sun, 18 Oct 2015 00:30:43 +0000 Subject: [PATCH] Merged revision(s) 2900 from branches/releases/bacnet-stack-0-8-0: Cleanup of unit test exports. ........ --- bacnet-stack/include/bacstr.h | 5 +++++ bacnet-stack/include/debug.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bacnet-stack/include/bacstr.h b/bacnet-stack/include/bacstr.h index a9b973bb..6166929e 100644 --- a/bacnet-stack/include/bacstr.h +++ b/bacnet-stack/include/bacstr.h @@ -195,6 +195,11 @@ extern "C" { BACNET_OCTET_STRING * octet_string1, BACNET_OCTET_STRING * octet_string2); +#ifdef TEST +#include "ctest.h" + void testBACnetStrings( + Test * pTest); +#endif #ifdef __cplusplus } diff --git a/bacnet-stack/include/debug.h b/bacnet-stack/include/debug.h index 04f76ad5..94c29348 100644 --- a/bacnet-stack/include/debug.h +++ b/bacnet-stack/include/debug.h @@ -29,6 +29,10 @@ #include #include "bacdef.h" +#ifndef DEBUG_ENABLED +#define DEBUG_ENABLED 0 +#endif + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */