Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
i18n: do not poison translations unless GIT_GETTEXT_POISON envvar is set
[gitweb.git]
/
gettext.h
diff --git
a/gettext.h
b/gettext.h
index 11d82b0a6ec5a442619a6369dc4f9253700e726c..04b5958e2bc94ec64de8250dc303258d9de68df0 100644
(file)
--- a/
gettext.h
+++ b/
gettext.h
@@
-16,7
+16,7
@@
#define FORMAT_PRESERVING(n) __attribute__((format_arg(n)))
#ifdef GETTEXT_POISON
-#define use_gettext_poison() 1
+extern int use_gettext_poison(void);
#else
#define use_gettext_poison() 0
#endif