Added a PRINT_ENABLED define to allow small embedded devices without print capability to use some functions in this module.

This commit is contained in:
skarg
2006-08-10 20:54:52 +00:00
parent 1a6e3fca43
commit 7b4680832f
+6
View File
@@ -34,6 +34,9 @@
#ifndef BACTEXT_H
#define BACTEXT_H
/* tiny implementations have no need to print */
#if PRINT_ENABLED
#include <stdbool.h>
#include <stdint.h>
#include "indtext.h"
@@ -66,4 +69,7 @@ extern "C" {
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif
#endif