[open-ils-commits] r11769 - trunk/Open-ILS/include/openils
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 13:09:51 EST 2009
Author: scottmk
Date: 2009-01-08 13:09:48 -0500 (Thu, 08 Jan 2009)
New Revision: 11769
Modified:
trunk/Open-ILS/include/openils/oils_idl.h
Log:
Move nested headers into complation guard;
prepare for #inclusion in C++
Modified: trunk/Open-ILS/include/openils/oils_idl.h
===================================================================
--- trunk/Open-ILS/include/openils/oils_idl.h 2009-01-08 13:58:38 UTC (rev 11768)
+++ trunk/Open-ILS/include/openils/oils_idl.h 2009-01-08 18:09:48 UTC (rev 11769)
@@ -1,3 +1,6 @@
+#ifndef OILS_IDL_API
+#define OILS_IDL_API
+
#include "opensrf/log.h"
#include "opensrf/utils.h"
#include "opensrf/osrf_hash.h"
@@ -2,4 +5,5 @@
-#ifndef OILS_IDL_API
-#define OILS_IDL_API
+#ifdef __cplusplus
+extern "C" {
+#endif
@@ -48,4 +52,8 @@
char * oilsIDL_pton(const char *, int);
int oilsIDL_ntop(const char *, const char *);
+#ifdef __cplusplus
+}
#endif
+
+#endif
More information about the open-ils-commits
mailing list