File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828#include "py/mpconfig.h"
2929
30- #if MICROPY_PY_USELECT
30+ #if MICROPY_PY_USELECT_POSIX
3131
3232#include <stdio.h>
3333#include <errno.h>
@@ -238,4 +238,4 @@ const mp_obj_module_t mp_module_uselect = {
238238 .globals = (mp_obj_dict_t * )& mp_module_select_globals ,
239239};
240240
241- #endif // MICROPY_PY_USELECT
241+ #endif // MICROPY_PY_USELECT_POSIX
Original file line number Diff line number Diff line change 121121#define MICROPY_PY_UBINASCII (1)
122122#define MICROPY_PY_UBINASCII_CRC32 (1)
123123#define MICROPY_PY_URANDOM (1)
124- #ifndef MICROPY_PY_USELECT
125- #define MICROPY_PY_USELECT (1)
124+ #ifndef MICROPY_PY_USELECT_POSIX
125+ #define MICROPY_PY_USELECT_POSIX (1)
126126#endif
127127#define MICROPY_PY_WEBSOCKET (1)
128128#define MICROPY_PY_MACHINE (1)
@@ -194,7 +194,7 @@ extern const struct _mp_obj_module_t mp_module_jni;
194194#else
195195#define MICROPY_PY_SOCKET_DEF
196196#endif
197- #if MICROPY_PY_USELECT
197+ #if MICROPY_PY_USELECT_POSIX
198198#define MICROPY_PY_USELECT_DEF { MP_ROM_QSTR(MP_QSTR_uselect), MP_ROM_PTR(&mp_module_uselect) },
199199#else
200200#define MICROPY_PY_USELECT_DEF
You can’t perform that action at this time.
0 commit comments