From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865> Date: Thu, 8 Jan 2009 15:37:04 +0000 (+0000) Subject: Add compilation guard; prepare for #inclusion in C++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=899bc71101e6bfd680bb7c17f6e9c35ba9f0ee49;p=opensrf%2Fbjwebb.git Add compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1583 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/include/opensrf/sha.h b/include/opensrf/sha.h index 6c3d2d4..af8a1c9 100644 --- a/include/opensrf/sha.h +++ b/include/opensrf/sha.h @@ -30,6 +30,12 @@ // // ===================================================================================== +#ifndef SHA_H +#define SHA_H + +#ifdef __cplusplus +extern "C" { +#endif //#ifdef WIN32 char* shahash(const char* str); @@ -39,3 +45,8 @@ //} //#endif +#ifdef __cplusplus +} +#endif + +#endif