repo.or.cz
/
git
/
dscho.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tests: rename test to work around GNU gettext bug
[git/dscho.git]
/
gettext.h
blob
e02939ae362a92106798a5e668bf85d533e6b290
1
#ifndef GETTEXT_H
2
#define GETTEXT_H
3
4
#ifdef NO_GETTEXT
5
static
inline
void
git_setup_gettext
(
void
) {}
6
#else
7
extern
void
git_setup_gettext
(
void
);
8
#endif
9
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
17
18
#endif