summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-02 16:53:28 +0000
committerrofl0r <retnyg@gmx.net>2018-12-02 16:53:38 +0000
commit117e8eb600aecb432050ceb96d10e7503c801cf7 (patch)
treed1724a9d4aad061eb755b5bec3845b3266d94b91 /include
parentad42fde3600652dd8cfe3616afad0c3963a94e03 (diff)
downloadgettext-tiny-117e8eb600aecb432050ceb96d10e7503c801cf7.tar.gz
libintl.h: don't enable NOP macros by default
with these macros active by default, basically no translation happens at all. that's almost certainly not what you want.
Diffstat (limited to 'include')
-rw-r--r--include/libintl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libintl.h b/include/libintl.h
index 154c532..b1af2b4 100644
--- a/include/libintl.h
+++ b/include/libintl.h
@@ -21,14 +21,14 @@ char *bindtextdomain(const char *domainname, const char *dirname);
#undef gettext_noop
#define gettext_noop(X) X
-#ifndef LIBINTL_NO_MACROS
+#ifdef LIBINTL_NOP_MACROS
/* if these macros are defined, configure checks will detect libintl as
* built into the libc because test programs will work without -lintl.
* for example:
* checking for ngettext in libc ... yes
* the consequence is that -lintl will not be added to the LDFLAGS.
- * so if for some reason you want that libintl.a gets linked,
- * add -DLIBINTL_NO_MACROS=1 to your CPPFLAGS. */
+ * so if for some reason you do not want that libintl.a gets linked,
+ * add -DLIBINTL_NOP_MACROS=1 to your CPPFLAGS. */
#define gettext(X) ((char*) (X))
#define dgettext(dom, X) ((void)(dom), (char*) (X))