[Opensrf-commits] r1598 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 15:18:37 EST 2009
Author: scottmk
Date: 2009-01-08 15:18:33 -0500 (Thu, 08 Jan 2009)
New Revision: 1598
Modified:
trunk/include/opensrf/osrf_big_hash.h
Log:
Rename macro for compilation guard, to avoid conflict with
osrf_hash.h. Prepare for #inclusion in C++.
Modified: trunk/include/opensrf/osrf_big_hash.h
===================================================================
--- trunk/include/opensrf/osrf_big_hash.h 2009-01-08 19:01:30 UTC (rev 1597)
+++ trunk/include/opensrf/osrf_big_hash.h 2009-01-08 20:18:33 UTC (rev 1598)
@@ -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 osrfBigHashIteratorReset( osrfBigHashIterator* itr );
+#ifdef __cplusplus
+}
#endif
+
+#endif
More information about the opensrf-commits
mailing list