From df48f8140c3e0991febfa961e3a8ad300a2968ed Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 4 Dec 2007 01:47:02 +0000 Subject: [PATCH] Handle the case of _M17N_H_ being defined. --- src/m17n-flt.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/m17n-flt.h b/src/m17n-flt.h index 235e7d5..380f823 100644 --- a/src/m17n-flt.h +++ b/src/m17n-flt.h @@ -31,13 +31,21 @@ M17N_BEGIN_HEADER #if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE) -extern void m17n_init_flt (void); +extern void m17n_init_flt (int); #undef M17N_INIT -#define M17N_INIT() m17n_init_flt () +#ifdef _M17N_H_ +#define M17N_INIT() m17n_init_flt (1) +#else /* not _M17N_H_ */ +#define M17N_INIT() m17n_init_flt (0) +#endif /* not _M17N_H_ */ -extern void m17n_fini_flt (void); +extern void m17n_fini_flt (int); #undef M17N_FINI -#define M17N_FINI() m17n_fini_flt () +#ifdef _M17N_H_ +#define M17N_FINI() m17n_fini_flt (1) +#else /* not _M17N_H_ */ +#define M17N_FINI() m17n_fini_flt (0) +#endif /* not _M17N_H_ */ #endif -- 1.7.10.4