tests: rename test to work around GNU gettext bug
[git/dscho.git] / gettext.h
blobe02939ae362a92106798a5e668bf85d533e6b290
1 #ifndef GETTEXT_H
2 #define GETTEXT_H
4 #ifdef NO_GETTEXT
5 static inline void git_setup_gettext(void) {}
6 #else
7 extern void git_setup_gettext(void);
8 #endif
10 #define N_(s) (s)
11 #ifdef NO_GETTEXT
12 #define _(s) (s)
13 #else
14 #include <libintl.h>
15 #define _(s) gettext(s)
16 #endif
18 #endif