From: handa Date: Tue, 4 Dec 2007 01:47:02 +0000 (+0000) Subject: Handle the case of _M17N_H_ being defined. X-Git-Tag: REL-1-5-0~31 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=df48f8140c3e0991febfa961e3a8ad300a2968ed;p=m17n%2Fm17n-lib.git Handle the case of _M17N_H_ being defined. --- 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