]> git.draconx.ca Git - dxcommon.git/blobdiff - t/nls/gettext.h
help_print_optstring: Test fullwidth/halfwidth character output.
[dxcommon.git] / t / nls / gettext.h
diff --git a/t/nls/gettext.h b/t/nls/gettext.h
new file mode 100644 (file)
index 0000000..b8a8060
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright © 2023 Nick Bowler
+ *
+ * Stub gettext macros for test purposes.
+ *
+ * License WTFPL2: Do What The Fuck You Want To Public License, version 2.
+ * This is free software: you are free to do what the fuck you want to.
+ * There is NO WARRANTY, to the extent permitted by law.
+ */
+
+#ifndef TEST_NLS_GETTEXT_H_
+#define TEST_NLS_GETTEXT_H_
+
+#define gettext(s) (s)
+#define pgettext_expr(a, s) (s)
+
+#endif