summaryrefslogtreecommitdiff
path: root/euler/source/std/cctype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'euler/source/std/cctype.cpp')
-rw-r--r--euler/source/std/cctype.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/euler/source/std/cctype.cpp b/euler/source/std/cctype.cpp
new file mode 100644
index 0000000..a35d1a5
--- /dev/null
+++ b/euler/source/std/cctype.cpp
@@ -0,0 +1,7 @@
+#include <cctype>
+
+extern "C" int isspace(int ch) {
+ return
+ ch == ' ' || ch == '\f' || ch == '\n' ||
+ ch == '\r' || ch == '\t' || ch == '\v';
+}