unix: Fix freedos port build problems.

pull/1/head
Nikita Melentev 2017-02-02 14:32:19 +03:00 committed by Damien George
parent 8400351d5a
commit 5bea6ea808
3 changed files with 7 additions and 6 deletions

2
unix/.gitignore vendored
View File

@ -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

View File

@ -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:

View File

@ -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)