diff options
author | James McCoy <jamessan@jamessan.com> | 2017-10-03 14:53:11 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-10-03 14:54:50 -0400 |
commit | 235fda5f86d80b1aa7d7cbcb41e3399c556b7455 (patch) | |
tree | 3025edaf5be592e1ba42c6f735d08faba7322870 /cmake/FindLibIntl.cmake | |
parent | 01e53a5cbe676181629ef63731b980c453c0bd62 (diff) | |
download | rneovim-235fda5f86d80b1aa7d7cbcb41e3399c556b7455.tar.gz rneovim-235fda5f86d80b1aa7d7cbcb41e3399c556b7455.tar.bz2 rneovim-235fda5f86d80b1aa7d7cbcb41e3399c556b7455.zip |
Stub ngettext when libintl isn't available
This should have been included in #6547 as part of vim-patch:7.4.2152.
Closes #7352
Diffstat (limited to 'cmake/FindLibIntl.cmake')
-rw-r--r-- | cmake/FindLibIntl.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindLibIntl.cmake b/cmake/FindLibIntl.cmake index 75926200c1..ab4632cf45 100644 --- a/cmake/FindLibIntl.cmake +++ b/cmake/FindLibIntl.cmake @@ -46,6 +46,7 @@ check_c_source_compiles(" int main(int argc, char** argv) { gettext(\"foo\"); + ngettext(\"foo\", \"bar\", 1); bindtextdomain(\"foo\", \"bar\"); bind_textdomain_codeset(\"foo\", \"bar\"); textdomain(\"foo\"); |