diff options
Diffstat (limited to 'src/bdd/mtr/mtr.h')
-rw-r--r-- | src/bdd/mtr/mtr.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/bdd/mtr/mtr.h b/src/bdd/mtr/mtr.h index 201329ae..189ac1be 100644 --- a/src/bdd/mtr/mtr.h +++ b/src/bdd/mtr/mtr.h @@ -36,6 +36,8 @@ /* Nested includes */ /*---------------------------------------------------------------------------*/ +ABC_NAMESPACE_HEADER_START + /*---------------------------------------------------------------------------*/ /* Constant declarations */ @@ -58,17 +60,18 @@ /* These are potential duplicates. */ #ifndef EXTERN # ifdef __cplusplus -# define EXTERN extern "C" +# ifdef ABC_NAMESPACE +# define EXTERN extern +# else +# define EXTERN extern "C" +# endif # else -# define EXTERN extern +# define EXTERN extern # endif #endif + #ifndef ARGS -# if defined(__STDC__) || defined(__cplusplus) -# define ARGS(protos) protos /* ANSI C */ -# else /* !(__STDC__ || __cplusplus) */ -# define ARGS(protos) () /* K&R C */ -# endif /* !(__STDC__ || __cplusplus) */ +#define ARGS(protos) protos #endif #if defined(__GNUC__) @@ -170,4 +173,6 @@ EXTERN MtrNode * Mtr_ReadGroups ARGS((FILE *fp, int nleaves)); /**AutomaticEnd***************************************************************/ +ABC_NAMESPACE_HEADER_END + #endif /* __MTR */ |