fix windows mpy-cross builds; tnx @jepler

This commit is contained in:
Dan Halbert 2023-08-14 11:37:41 -04:00
parent c823b9b2f6
commit 2f81f36c41
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@
#include "py/pairheap.h"
#include "py/mphal.h"
#if MICROPY_PY_UASYNCIO
#if CIRCUITPY && !(defined(__unix__) || defined(__APPLE__))
#include "shared-bindings/supervisor/__init__.h"
#endif
#include "supervisor/shared/translate/translate.h"
#if MICROPY_PY_UASYNCIO
// Used when task cannot be guaranteed to be non-NULL.
#define TASK_PAIRHEAP(task) ((task) ? &(task)->pairheap : NULL)