From 74dfcf3fa805499b0654d22cb816c9226b876d3b Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 20:18:33 +0000 Subject: [PATCH] Rename macro for compilation guard, to avoid conflict with osrf_hash.h. Prepare for #inclusion in C++. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1598 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_big_hash.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/opensrf/osrf_big_hash.h b/include/opensrf/osrf_big_hash.h index a738755..dca5b32 100644 --- a/include/opensrf/osrf_big_hash.h +++ b/include/opensrf/osrf_big_hash.h @@ -1,10 +1,14 @@ -#ifndef OSRF_HASH_H -#define OSRF_HASH_H +#ifndef OSRF_BIG_HASH_H +#define OSRF_BIG_HASH_H #include #include #include +#ifdef __cplusplus +extern "C" { +#endif + #define OSRF_HASH_MAXKEY 256 struct __osrfBigHashStruct { @@ -84,4 +88,8 @@ void osrfBigHashIteratorFree( osrfBigHashIterator* itr ); void osrfBigHashIteratorReset( osrfBigHashIterator* itr ); +#ifdef __cplusplus +} +#endif + #endif -- 2.43.2