From 6a2ca2485707a8a779e2f9dbae0df30e34276b66 Mon Sep 17 00:00:00 2001 From: kingdl802 Date: Thu, 9 Apr 2009 15:47:47 +0000 Subject: [PATCH] remove the c++ comment instead of converting it because it violates the coding style for header files - the enclosing endif is not commented. --- bacnet-stack/lib/main.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bacnet-stack/lib/main.h b/bacnet-stack/lib/main.h index 672f6e09..c6c92c1a 100644 --- a/bacnet-stack/lib/main.h +++ b/bacnet-stack/lib/main.h @@ -13,7 +13,15 @@ #define DLL_EXPORT __declspec(dllimport) #endif +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + void DLL_EXPORT SomeFunction( const LPCSTR sometext); -#endif // __MAIN_H__ +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif