From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Thu, 8 Jan 2009 16:31:05 +0000 (+0000)
Subject: Rename macro for compilation guard; prepare for #inclusion in C++
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0a42dc0a7fc360044b7a00916b14946512223753;p=opensrf%2Fbjwebb.git

Rename macro for compilation guard; prepare for #inclusion in C++


git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1587 9efc2488-bf62-4759-914b-345cdb29e865
---

diff --git a/include/opensrf/osrf_app_session.h b/include/opensrf/osrf_app_session.h
index 45ef6e4..1590a40 100644
--- a/include/opensrf/osrf_app_session.h
+++ b/include/opensrf/osrf_app_session.h
@@ -1,5 +1,5 @@
-#ifndef _OSRF_APP_SESSION
-#define _OSRF_APP_SESSION
+#ifndef OSRF_APP_SESSION_H
+#define OSRF_APP_SESSION_H
 
 #include <opensrf/transport_client.h>
 #include <opensrf/osrf_message.h>
@@ -11,7 +11,9 @@
 
 #include <opensrf/osrf_json.h>
 
-
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 #define	DEF_RECV_TIMEOUT 6 /* receive timeout */
 #define	DEF_QUEUE_SIZE	
@@ -153,6 +155,8 @@ int osrfAppSessionStatus( osrfAppSession* ses, int type,
 
 void osrfAppSessionCleanup();
 
-
+#ifdef __cplusplus
+}
+#endif
 
 #endif