diff options
| author | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-11 02:14:52 +0200 |
| commit | 8b33f268b67455ded8d35f3c198425562173fa2e (patch) | |
| tree | 947e9b5503c0447f12f6d8d2c00c3b177dddef72 /userspace/cpp/prep.cpp | |
| parent | e2005fda57ea4da12754d67ba127b09508125395 (diff) | |
almost cross compliing c++
Diffstat (limited to 'userspace/cpp/prep.cpp')
| -rw-r--r-- | userspace/cpp/prep.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/userspace/cpp/prep.cpp b/userspace/cpp/prep.cpp new file mode 100644 index 0000000..a09adbe --- /dev/null +++ b/userspace/cpp/prep.cpp @@ -0,0 +1,8 @@ +#include <reent.h> +#include <cstring> + +void prep() +{ +_REENT_INIT_PTR(_impure_ptr); +} + |
