From 97ee5be7f569f4907ecfe4637330f5f93e0b4a77 Mon Sep 17 00:00:00 2001 From: Christophe Alexandre Date: Tue, 1 Oct 2002 19:07:18 +0000 Subject: [PATCH] C++ compliant ... please do not warn me if I'm wrong --- alliance/src/abe/src/abe.h | 8 ++++++++ alliance/src/abv/src/abv.h | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/alliance/src/abe/src/abe.h b/alliance/src/abe/src/abe.h index 5e63ac5e..54d06de2 100644 --- a/alliance/src/abe/src/abe.h +++ b/alliance/src/abe/src/abe.h @@ -37,6 +37,10 @@ #ifndef ABE_BEHDEF #define ABE_BEHDEF +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /* ###------------------------------------------------------### */ /* defines */ /* ###------------------------------------------------------### */ @@ -318,4 +322,8 @@ extern int beh_error (); extern void beh_message (); extern void beh_toolbug (); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif diff --git a/alliance/src/abv/src/abv.h b/alliance/src/abv/src/abv.h index 16f59f35..c15b7563 100644 --- a/alliance/src/abv/src/abv.h +++ b/alliance/src/abv/src/abv.h @@ -37,6 +37,10 @@ #ifndef ABV_BVLDEF #define ABV_BVLDEF +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #define ABV_TRACE_MASK 0x00000001 /* print messages when parsing */ #define ABV_KEEP_AUX_MASK 0x00000002 /* keep internal signals */ #define ABV_SYNTH_MASK 0x00000004 /* special mode for synthesis */ @@ -48,4 +52,8 @@ extern struct befig *vhdlloadbefig (); extern void vhdlsavebefig (); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif