Skip to content

Commit 37acfe3

Browse files
committed
build fixes
1 parent 49313f5 commit 37acfe3

File tree

3 files changed

+3
-76
lines changed

3 files changed

+3
-76
lines changed

docs/reference/micropython2_migration.rst

Lines changed: 0 additions & 74 deletions
This file was deleted.

mpy-cross/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ SRC_C = \
6060
# Add fmode when compiling with mingw gcc
6161
COMPILER_TARGET := $(shell $(CC) -dumpmachine)
6262
ifneq (,$(findstring mingw,$(COMPILER_TARGET)))
63-
SRC_C += ports/windows/fmode.c
63+
SRC_C += windows-fmode.c
6464
endif
6565

6666
OBJ = $(PY_CORE_O)

mpy-cross/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
#include "py/stackctrl.h"
3838
#include "genhdr/mpversion.h"
3939
#ifdef _WIN32
40-
#include "ports/windows/fmode.h"
40+
// CIRCUITPY-CHANGE
41+
#include "fmode.h"
4142
#endif
4243

4344
// Command line options, with their defaults

0 commit comments

Comments
 (0)