From 899bc71101e6bfd680bb7c17f6e9c35ba9f0ee49 Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 15:37:04 +0000 Subject: [PATCH] Add compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1583 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/sha.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 2.43.2