From: scottmk Date: Thu, 8 Jan 2009 05:38:30 +0000 (+0000) Subject: Prepare for #inclusion in C++ programs X-Git-Tag: osrf_rel_2_0_1~465 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8fa546b053dd13cc777bc949e02096ec9790d8da;p=OpenSRF.git Prepare for #inclusion in C++ programs git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1579 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/utils.h b/include/opensrf/utils.h index ae2a7ee..912698d 100644 --- a/include/opensrf/utils.h +++ b/include/opensrf/utils.h @@ -29,6 +29,10 @@ GNU General Public License for more details. #include //#include +#ifdef __cplusplus +extern "C" { +#endif + #include "md5.h" #define OSRF_MALLOC(ptr, size) \ @@ -277,4 +281,8 @@ char* md5sum( const char* text, ... ); */ int osrfUtilsCheckFileDescriptor( int fd ); +#ifdef __cplusplus +} +#endif + #endif