Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gettext.h: add parentheses around N_ expansion if supported
[gitweb.git]
/
git-compat-util.h
diff --git
a/git-compat-util.h
b/git-compat-util.h
index 400e92108687e31dd16fbcea1a43e04556b98566..572664371d0b0d9870449b889c9575559fc5139d 100644
(file)
--- a/
git-compat-util.h
+++ b/
git-compat-util.h
@@
-828,4
+828,8
@@
struct tm *git_gmtime_r(const time_t *, struct tm *);
#define gmtime_r git_gmtime_r
#endif
+#if !defined(USE_PARENS_AROUND_GETTEXT_N) && defined(__GNUC__)
+#define USE_PARENS_AROUND_GETTEXT_N 1
+#endif
+
#endif