1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef DISFLUID_INIT_INCLUDED # define DISFLUID_INIT_INCLUDED static inline void ensure_init (void); static inline void ensure_init (void) { static volatile int is_initialized = 0; if (!is_initialized) { bindtextdomain (PACKAGE, relocate (LOCALEDIR)); is_initialized = 1; } } #endif /* DISFLUID_INIT_INCLUDED */