]> sourceware.org Git - systemtap.git/commitdiff
PR 3823 Adding a conditional for the _() macro
authorLukas Berk <lberk@redhat.com>
Mon, 14 Feb 2011 13:29:25 +0000 (08:29 -0500)
committerLukas Berk <lberk@redhat.com>
Mon, 14 Feb 2011 13:29:25 +0000 (08:29 -0500)
session.h

index 82f0a4fcded55a2fd649549a6a86648156ea8756..bd7b6ce140278df93d1d5c6849c119734494dba8 100644 (file)
--- a/session.h
+++ b/session.h
@@ -26,7 +26,11 @@ extern "C" {
 #include <elfutils/libdw.h>
 }
 
+#if ENABLE_NLS
 #define _(string) gettext(string)
+#else
+#define _(string) (string)
+#endif
 
 // forward decls for all referenced systemtap types
 struct hash;
This page took 0.026228 seconds and 5 git commands to generate.