From 19eb4e7fd5cba3548f7dab2079e63b1a5a40262a Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Fri, 23 Jan 2004 16:26:32 +0000 Subject: [PATCH] add ifdef __cplusplus --- src/libCom/osi/devLib.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/libCom/osi/devLib.h b/src/libCom/osi/devLib.h index f53b8fffa..778c113c2 100644 --- a/src/libCom/osi/devLib.h +++ b/src/libCom/osi/devLib.h @@ -30,6 +30,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* * epdevAddressType & EPICStovxWorksAddrType * devLib.c must change in unison @@ -419,4 +423,8 @@ long devDisableInterruptLevel (epicsInterruptType intType, unsigned level); */ long locationProbe (epicsAddressType addrType, char *pLocation); -#endif /* devLib.h*/ +#ifdef __cplusplus +} +#endif + +#endif /* INCdevLibh.h*/