summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-02 05:03:01 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-02 05:03:01 +0000
commit800ee1ea9a7278ae0fa57d7db710398ede74fe59 (patch)
treec60dcf63f7c6737b668658979b665a64ea07196c /src
parentfda66b542c0f56a5d4aadfde8d93afe2dde251a5 (diff)
downloadirssi-800ee1ea9a7278ae0fa57d7db710398ede74fe59.zip
Forgot to commit for the nl_langinfo()
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@915 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/nls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nls.h b/src/nls.h
index dc52d62c..c01f8e60 100644
--- a/src/nls.h
+++ b/src/nls.h
@@ -10,6 +10,12 @@
# else
# define N_(String) (String)
# endif
+# ifdef HAVE_LANGINFO_H
+# include <langinfo.h>
+# else
+# define nl_langinfo(x) x
+# define YESEXPR 'Y'
+# endif
#else
/* Stubs that do something close enough. */
# define textdomain(String) (String)