summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-20 13:48:29 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-20 13:48:29 (EDT)
commitb6c6ab68e3f34f8a3c768a5f00a7dec7867b01b1 (patch)
tree15f6edacbd0fae9334733de5c071fe5f4cf072c3 /src
parentcdde4ea4dcd08b8cbe0da7f6360f0412debf51d5 (diff)
src/i18n.h: Handle !ENABLE_NLS
Diffstat (limited to 'src')
-rw-r--r--src/i18n.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i18n.h b/src/i18n.h
index fbe5186..4d8ee76 100644
--- a/src/i18n.h
+++ b/src/i18n.h
@@ -1,3 +1,11 @@
+#ifdef ENABLE_NLS
+
#include <libintl.h>
#define _(msgid) gettext(msgid)
+
+#else
+
+#define _(msgid) (msgid)
+
+#endif