summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/nomacros.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/nomacros.c')
-rw-r--r--lib/libc/locale/nomacros.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/locale/nomacros.c b/lib/libc/locale/nomacros.c
new file mode 100644
index 0000000..45c0db7
--- /dev/null
+++ b/lib/libc/locale/nomacros.c
@@ -0,0 +1,9 @@
+/*
+ * Tell <ctype.h> to generate extern versions of all its inline
+ * functions. The extern versions get called if the system doesn't
+ * support inlines or the user defines _DONT_USE_CTYPE_INLINE_
+ * before including <ctype.h>.
+ */
+#define _EXTERNALIZE_CTYPE_INLINES_
+
+#include <ctype.h>
OpenPOWER on IntegriCloud