[open-ils-commits] r11766 - trunk/Open-ILS/include/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jan 8 01:05:50 EST 2009


Author: scottmk
Date: 2009-01-08 01:05:47 -0500 (Thu, 08 Jan 2009)
New Revision: 11766

Modified:
   trunk/Open-ILS/include/openils/oils_constants.h
Log:
Add compilation guard; prepare for #inclusion in C++.


Modified: trunk/Open-ILS/include/openils/oils_constants.h
===================================================================
--- trunk/Open-ILS/include/openils/oils_constants.h	2009-01-08 02:35:09 UTC (rev 11765)
+++ trunk/Open-ILS/include/openils/oils_constants.h	2009-01-08 06:05:47 UTC (rev 11766)
@@ -1,4 +1,9 @@
+#ifndef OILS_CONSTANTS_H
+#define OILS_CONSTANTS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Settings ------------------------------------------------------ */
 #define OILS_ORG_SETTING_OPAC_TIMEOUT "auth.opac_timeout"
@@ -12,3 +17,8 @@
 #define OILS_EVENT_PERM_FAILURE "PERM_FAILURE"
 #define OILS_EVENT_NO_SESSION "NO_SESSION"
 
+#ifdef __cplusplus
+}
+#endif
+
+#endif



More information about the open-ils-commits mailing list