From 21b373c75cdc46d0479295338d49f5f18dd435c0 Mon Sep 17 00:00:00 2001 From: skarg Date: Sat, 18 Feb 2006 22:28:24 +0000 Subject: [PATCH] moved the C++ ifdefs --- bacnet-stack/tsm.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/bacnet-stack/tsm.h b/bacnet-stack/tsm.h index e65fcc25..19529196 100644 --- a/bacnet-stack/tsm.h +++ b/bacnet-stack/tsm.h @@ -112,15 +112,17 @@ bool tsm_get_transaction_pdu( uint16_t *pdu_len); bool tsm_invoke_id_free(uint8_t invokeID); -#else -#define tsm_free_invoke_id(x) (void)x; - - -#endif #ifdef __cplusplus } #endif /* __cplusplus */ +/* define out any functions necessary for compile */ +#else + +#define tsm_free_invoke_id(x) (void)x; + +#endif + #endif