diff options
-rw-r--r-- | unix/.gitignore | 2 | ||||
-rw-r--r-- | unix/Makefile | 5 | ||||
-rw-r--r-- | unix/mpconfigport_freedos.h | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/unix/.gitignore b/unix/.gitignore index eeafecf18a..706b7732dc 100644 --- a/unix/.gitignore +++ b/unix/.gitignore @@ -3,10 +3,12 @@ build-fast build-minimal build-coverage build-nanbox +build-freedos micropython micropython_fast micropython_minimal micropython_coverage micropython_nanbox +micropython_freedos* *.py *.gcov diff --git a/unix/Makefile b/unix/Makefile index 720842d6b7..83bd3f984c 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -235,7 +235,10 @@ freedos: PROG=micropython_freedos \ MICROPY_PY_SOCKET=0 \ MICROPY_PY_FFI=0 \ - MICROPY_PY_JNI=0 + MICROPY_PY_JNI=0 \ + MICROPY_PY_BTREE=0 \ + MICROPY_PY_THREAD=0 \ + MICROPY_PY_USSL=0 # build an interpreter for coverage testing and do the testing coverage: diff --git a/unix/mpconfigport_freedos.h b/unix/mpconfigport_freedos.h index b2ba06da06..09c85ab1e3 100644 --- a/unix/mpconfigport_freedos.h +++ b/unix/mpconfigport_freedos.h @@ -37,8 +37,4 @@ // djgpp dirent struct does not have d_ino field #undef _DIRENT_HAVE_D_INO -// djgpp errno.h have no ENOTSUP -#include <errno.h> -#ifndef ENOTSUP -#define ENOTSUP 88 -#endif +#define MICROPY_USE_INTERNAL_ERRNO (1) |