(textdomain, bindtextdomain) [! ENABLE_NLS]: Define away,
authorJim Meyering <jim@meyering.net>
Mon, 18 Aug 2003 12:09:42 +0000 (12:09 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 18 Aug 2003 12:09:42 +0000 (12:09 +0000)
to avoid warnings from gcc.

src/sys2.h

index ac37547d7fd5f4bfaf95f6f058be97a14fba817f..79fff1476993dae8507aaec6a7f5c7f55ca2a394 100644 (file)
 #endif
 
 #include "gettext.h"
+#if ! ENABLE_NLS
+# undef textdomain
+# define textdomain(Domainname) /* empty */
+# undef bindtextdomain
+# define bindtextdomain(Domainname, Dirname) /* empty */
+#endif
 
 #define _(msgid) gettext (msgid)
 #define N_(msgid) msgid