summaryrefslogtreecommitdiffstats
path: root/tools/build/langinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/langinfo.h')
-rw-r--r--tools/build/langinfo.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/build/langinfo.h b/tools/build/langinfo.h
new file mode 100644
index 0000000..419c721
--- /dev/null
+++ b/tools/build/langinfo.h
@@ -0,0 +1,17 @@
+/* $FreeBSD$ */
+
+#ifndef LANGINFO_H
+#define LANGINFO_H
+
+#include <sys/cdefs.h>
+
+#define YESEXPR 1
+
+/* xargs only needs yesexpr, so that's all we implement, for english */
+static inline const char *
+nl_langinfo(int type __unused)
+{
+ return ("^[yY]");
+}
+
+#endif /* LANGINFO_H */
OpenPOWER on IntegriCloud