From 3401653fe01b1c67fcf5f6e9afdbe1531a0758c5 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 6 Oct 1998 15:46:06 +0000 Subject: [PATCH] * libguile.h: Mark these as C declarations, for compilation by C++ compilers. --- libguile/libguile.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libguile/libguile.h b/libguile/libguile.h index 8e0ef8ab5..81bb6351b 100644 --- a/libguile/libguile.h +++ b/libguile/libguile.h @@ -43,7 +43,9 @@ * If you do not wish that, delete this exception notice. */ - +#ifdef __cplusplus +extern "C" { +#endif #include "libguile/__scm.h" @@ -122,6 +124,10 @@ #include "libguile/threads.h" #endif +#ifdef __cplusplus +} +#endif + #endif /* LIBGUILEH */