From 167665f8b78829c60d7c2eddf4f73eb997ff94a7 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Fri, 12 Nov 2021 11:03:45 -0600 Subject: [PATCH] fix build --- shared-bindings/bitmaptools/__init__.c | 2 +- tests/unix/extra_coverage.py.exp | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/shared-bindings/bitmaptools/__init__.c b/shared-bindings/bitmaptools/__init__.c index def72b53a0..1db0a20629 100644 --- a/shared-bindings/bitmaptools/__init__.c +++ b/shared-bindings/bitmaptools/__init__.c @@ -39,7 +39,7 @@ #if MICROPY_VFS #include "extmod/vfs.h" #endif -#if MICROPY_VFS_POSIX +#if defined(MICROPY_VFS_POSIX) && MICROPY_VFS_POSIX #include "extmod/vfs_posix.h" #endif diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp index 3a1e7f280b..4be6b20d5d 100644 --- a/tests/unix/extra_coverage.py.exp +++ b/tests/unix/extra_coverage.py.exp @@ -30,15 +30,15 @@ ame__ mport builtins micropython _thread array -binascii btree cexample cmath -collections cppexample displayio errno -ffi framebuf gc gifio -hashlib json math qrio -re sys termios ubinascii -uctypes uerrno uheapq uio -ujson ulab uos urandom -ure uselect ustruct utime -utimeq uzlib +binascii bitmaptools btree cexample +cmath collections cppexample displayio +errno ffi framebuf gc +gifio hashlib json math +qrio re sys termios +ubinascii uctypes uerrno uheapq +uio ujson ulab uos +urandom ure uselect ustruct +utime utimeq uzlib ime utime utimeq