From 7b4680832fc870b82713d3643dd00228c31abac4 Mon Sep 17 00:00:00 2001 From: skarg Date: Thu, 10 Aug 2006 20:54:52 +0000 Subject: [PATCH] Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module. --- bacnet-stack/bactext.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bacnet-stack/bactext.h b/bacnet-stack/bactext.h index 351af244..72bbe56c 100644 --- a/bacnet-stack/bactext.h +++ b/bacnet-stack/bactext.h @@ -34,6 +34,9 @@ #ifndef BACTEXT_H #define BACTEXT_H +/* tiny implementations have no need to print */ +#if PRINT_ENABLED + #include #include #include "indtext.h" @@ -66,4 +69,7 @@ extern "C" { #ifdef __cplusplus } #endif /* __cplusplus */ + +#endif + #endif