[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Heimdal libs with C++
Hello all,
I'm using the heimdal libraries from C++ code. In order to make the Heimdal
calls link correctly, I needed to wrap the Heimdal headers into `extern "C"'
definitions. Could this be added to the standard distributions?
--
Dan
--- gssapi.h.orig Wed May 29 08:27:40 2002
+++ gssapi.h Wed May 29 08:28:20 2002
@@ -36,6 +36,10 @@
#ifndef GSSAPI_H_
#define GSSAPI_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* First, include stddef.h to get size_t defined.
*/
@@ -769,5 +773,9 @@
(OM_uint32 *minor,
gss_cred_id_t cred,
struct krb5_ccache_data *out);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* GSSAPI_H_ */