mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 11:02:46 +08:00
drop USE_GETTEXT macro and use only HAVE_GETTEXT
There is no clear rationale for the two separate macros.
This commit is contained in:
parent
fa57565c42
commit
ea5f3925ea
|
@ -58,7 +58,7 @@
|
|||
/// The special cased translation macro for completions. The empty string needs to be special cased,
|
||||
/// since it can occur, and should not be translated. (Gettext returns the version information as
|
||||
/// the response).
|
||||
#ifdef USE_GETTEXT
|
||||
#ifdef HAVE_GETTEXT
|
||||
static const wchar_t *C_(const wcstring &s) {
|
||||
return s.empty() ? L"" : wgettext(s.c_str()).c_str();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user