From f45aa105719e718f36de9f9422d9b8326189f6a4 Mon Sep 17 00:00:00 2001 From: skarg Date: Mon, 26 Feb 2007 14:11:55 +0000 Subject: [PATCH] Added extra check in case TSM_ENABLED is not defined. --- bacnet-stack/tsm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacnet-stack/tsm.h b/bacnet-stack/tsm.h index f4cac4b5..c6a4afb7 100644 --- a/bacnet-stack/tsm.h +++ b/bacnet-stack/tsm.h @@ -42,6 +42,9 @@ /* note: TSM functionality is optional - only needed if we are doing client requests */ +#ifndef TSM_ENABLED + #define TSM_ENABLED 0 +#endif #if (!TSM_ENABLED) #define tsm_free_invoke_id(x) (void)x; #else