[Nagiosplug-checkins] nagiosplug/plugins common.h,1.14,1.15

Ton Voon tonvoon at users.sourceforge.net
Thu Dec 9 16:14:03 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16183

Modified Files:
	common.h 
Log Message:
Fix includes for gettext


Index: common.h
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/common.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- common.h	1 Dec 2004 23:54:51 -0000	1.14
+++ common.h	10 Dec 2004 00:13:43 -0000	1.15
@@ -184,20 +184,8 @@
  * Internationalization
  *
  */
-
-#ifdef ENABLE_NLS
-#  include "gettext.h"
-#  define _(String) gettext (String)
-#  define S_(String) gettext (String)
-#  define gettext_noop(String) String
-#  define N_(String) gettext_noop String
-#else
-#  define _(String) (String)
-#  define S_(String) (String)
-#  define N_(String) String
-#  define textdomain(Domain)
-#  define bindtextdomain(Package, Directory)
-#endif
+#include "gettext.h"
+#define _(String) gettext (String)
 
 /* For non-GNU compilers to ignore __attribute__ */
 #ifndef __GNUC__





More information about the Commits mailing list