e8e6a6126eeba37c175449fd17d2f5fe40322dbf
[apps/madmutt.git] / lib-lib / macros.h
1 #ifndef MUTT_LIB_LIB_MACROS_H
2 #define MUTT_LIB_LIB_MACROS_H
3
4 /*
5  * config.h must be included by source file!
6  */
7
8 #ifdef _
9 #  undef _
10 #endif
11
12 #ifdef ENABLE_NLS
13 #  include <libintl.h>
14 #define _(a)       (gettext(a))
15 #  ifdef gettext_noop
16 #    define N_(a)  gettext_noop(a)
17 #  else
18 #    define N_(a)  (a)
19 #  endif
20 #else
21 #  define _(a)     (a)
22 #  define N_(a)    (a)
23 #endif
24
25 #endif /* MUTT_LIB_LIB_MACROS_H */