From 2966dd3db80742c15dd4f313e11d114e961315d0 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 4 Dec 2007 01:48:27 +0000 Subject: [PATCH] Handle the case of _M17N_FLT_H_ being defined. --- src/m17n.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/m17n.h b/src/m17n.h index 5e5d278..dd94200 100644 --- a/src/m17n.h +++ b/src/m17n.h @@ -36,11 +36,20 @@ M17N_BEGIN_HEADER #if !defined (FOR_DOXYGEN) || defined (DOXYGEN_INTERNAL_MODULE) extern void m17n_init (void); #undef M17N_INIT -#define M17N_INIT() m17n_init () +#ifdef _M17N_FLT_H_ +#define M17N_INIT() m17n_init_flt (1) +#else /* not _M17N_FLT_H_ */ +#define M17N_INIT() m17n_init (1) +#endif /* not _M17N_FLT_H_ */ extern void m17n_fini (void); #undef M17N_FINI +#ifdef _M17N_FLT_H_ +#define M17N_FINI() m17n_fini_flt (1) +#else /* not _M17N_FLT_H_ */ #define M17N_FINI() m17n_fini () +#endif /* not _M17N_FLT_H_ */ + #endif /***en @defgroup m17nShell SHELL API */ -- 1.7.10.4