Skip to content

Commit 5bea6ea

Browse files
Nikita Melentevdpgeorge
authored andcommitted
unix: Fix freedos port build problems.
1 parent 8400351 commit 5bea6ea

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

unix/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ build-fast
33
build-minimal
44
build-coverage
55
build-nanbox
6+
build-freedos
67
micropython
78
micropython_fast
89
micropython_minimal
910
micropython_coverage
1011
micropython_nanbox
12+
micropython_freedos*
1113
*.py
1214
*.gcov

unix/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ freedos:
235235
PROG=micropython_freedos \
236236
MICROPY_PY_SOCKET=0 \
237237
MICROPY_PY_FFI=0 \
238-
MICROPY_PY_JNI=0
238+
MICROPY_PY_JNI=0 \
239+
MICROPY_PY_BTREE=0 \
240+
MICROPY_PY_THREAD=0 \
241+
MICROPY_PY_USSL=0
239242

240243
# build an interpreter for coverage testing and do the testing
241244
coverage:

unix/mpconfigport_freedos.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,4 @@
3737
// djgpp dirent struct does not have d_ino field
3838
#undef _DIRENT_HAVE_D_INO
3939

40-
// djgpp errno.h have no ENOTSUP
41-
#include <errno.h>
42-
#ifndef ENOTSUP
43-
#define ENOTSUP 88
44-
#endif
40+
#define MICROPY_USE_INTERNAL_ERRNO (1)

0 commit comments

Comments
 (0)