From a7bb8496fe684703cf85e56d47e632d192dbca29 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Fri, 14 Feb 2003 12:43:47 +0000 Subject: [PATCH] C++ compatibility --- alliance/src/mbkspice/src/msl.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/alliance/src/mbkspice/src/msl.h b/alliance/src/mbkspice/src/msl.h index 0f1233cc..9dac0b25 100644 --- a/alliance/src/mbkspice/src/msl.h +++ b/alliance/src/mbkspice/src/msl.h @@ -32,6 +32,10 @@ #ifndef MSLH #define MSLH +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + extern int msl_line; /* current line number */ extern int msl_figloaded; /* TRUE if inside a SUBCKT */ extern char *msl_figname; /* name of main SUBCKT */ @@ -54,5 +58,9 @@ void mslRmvCompletion __P(( )); /* remove this function */ extern int SPI_LANG; +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif