summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-09-11 22:19:45 -0500
committerSamuel Holland <samuel@sholland.org>2018-09-11 22:50:41 -0500
commitfc611beda52e6063bf0510a84313d70eb033a672 (patch)
treeede683dbdd891aea07da05c13851e260fdb52e6a
parent67eb8c6c04a1b6c6fb85cf9cd6d7bdde489c4d5d (diff)
downloadgcompat-fc611beda52e6063bf0510a84313d70eb033a672.tar.gz
gcompat-fc611beda52e6063bf0510a84313d70eb033a672.tar.bz2
gcompat-fc611beda52e6063bf0510a84313d70eb033a672.tar.xz
gcompat-fc611beda52e6063bf0510a84313d70eb033a672.zip
ctype: Add __ctype_b
Signed-off-by: Samuel Holland <samuel@sholland.org>
-rw-r--r--CHANGELOG.rst6
-rw-r--r--Makefile1
-rw-r--r--libgcompat/ctype.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 2902cb3..f86ecdc 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -17,6 +17,12 @@ Build system
* Allow building against libucontext.
+ctype
+-----
+
+* Add __ctype_b.
+
+
cxx_thread
----------
diff --git a/Makefile b/Makefile
index 74c25f6..272bfd9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
LIBGCOMPAT_INCLUDE = \
libgcompat/alias.h
LIBGCOMPAT_SRC = \
+ libgcompat/ctype.c \
libgcompat/cxx_thread.c \
libgcompat/dlfcn.c \
libgcompat/error.c \
diff --git a/libgcompat/ctype.c b/libgcompat/ctype.c
new file mode 100644
index 0000000..1ae9877
--- /dev/null
+++ b/libgcompat/ctype.c
@@ -0,0 +1 @@
+const unsigned short int *__ctype_b;