Math Processor Unit Library

libmpu – library of arithmetic functions for integer, real, and complex numbers of increased digit capacity

16 Commits   0 Branches   2 Tags

#ifndef __SUPPORT_NLS__
#define __SUPPORT_NLS__   1

#if ENABLE_NLS == 1
#ifndef _
#  include <gettext.h>
#  ifndef _
#    define _(msgid)     gettext( msgid )
#  endif
#  ifdef gettext_noop
#    define N_(msgid)    gettext_noop( msgid )
#  else
#    define N_(msgid)    (msgid)
#  endif
#  ifdef ngettext
#    define Q_(msgid1, msgid2, N)    ngettext( msgid1, msgid2, N )
#  else
#    define Q_(msgid1, msgid2, N)    gettext( msgid2, N )
#  endif
#endif /* !_ */

#else

#  define _(msgid)                (msgid)
#  define N_(msgid)               (msgid)
#  define Q_(msgid1, msgid2, N)   (msgid2, N)

#endif

#endif /* __SUPPORT_NLS__ */