File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 5858# ################
5959* .orig
6060
61+ # Emacs backup files
62+ # ###################
63+ * ~
64+
6165* .DS_Store
Original file line number Diff line number Diff line change 1414include ../py/mkenv.mk
1515
1616# define main target
17+
18+ ifeq ($(OS ) ,Windows_NT)
19+ # Detect a MINGW32 build, and change the name of the final executable.
20+ PROG = mpy-cross.exe
21+ else
1722PROG = mpy-cross
23+ endif
1824
1925# qstr definitions (must come before including py.mk)
2026QSTR_DEFS = qstrdefsport.h
Original file line number Diff line number Diff line change 8585#define MICROPY_PY_IO (0)
8686#define MICROPY_PY_SYS (0)
8787
88+ // MINGW only handles these errno names.
89+ #ifdef __MINGW32__
90+ #define MICROPY_PY_UERRNO_LIST \
91+ X(EPERM) \
92+ X(ENOENT) \
93+ X(ESRCH) \
94+ X(EINTR) \
95+ X(EIO) \
96+ X(ENXIO) \
97+ X(E2BIG) \
98+ X(ENOEXEC) \
99+ X(EBADF) \
100+ X(ECHILD) \
101+ X(EAGAIN) \
102+ X(ENOMEM) \
103+ X(EACCES) \
104+ X(EFAULT) \
105+ X(EBUSY) \
106+ X(EEXIST) \
107+ X(EXDEV) \
108+ X(ENODEV) \
109+ X(ENOTDIR) \
110+ X(EISDIR) \
111+ X(EINVAL) \
112+ X(ENFILE) \
113+ X(EMFILE) \
114+ X(ENOTTY) \
115+ X(EFBIG) \
116+ X(ENOSPC) \
117+ X(ESPIPE) \
118+ X(EROFS) \
119+ X(EMLINK) \
120+ X(EPIPE) \
121+ X(EDOM) \
122+ X(ERANGE) \
123+ X(EDEADLOCK) \
124+ X(EDEADLK) \
125+ X(ENAMETOOLONG) \
126+ X(ENOLCK) \
127+ X(ENOSYS) \
128+ X(ENOTEMPTY) \
129+ X(EILSEQ)
130+ #endif
131+
88132// type definitions for the specific machine
89133
90134#ifdef __LP64__
You can’t perform that action at this time.
0 commit comments