From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Thu, 8 Jan 2009 20:18:33 +0000 (+0000)
Subject: Rename macro for compilation guard, to avoid conflict with
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=74dfcf3fa805499b0654d22cb816c9226b876d3b;p=opensrf%2Fbjwebb.git

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
---

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 <Judy.h>
 #include <opensrf/utils.h>
 #include <opensrf/string_array.h>
 
+#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