summaryrefslogtreecommitdiffstatshomepage
path: root/unix/moduselect.c
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-21 00:48:55 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-11-21 00:48:55 +0300
commit87dfc765706222d8be348f9ad78ad2c704704f53 (patch)
tree9330b022751c5f3d00056947c18b08d10d1bf573 /unix/moduselect.c
parent8f5bc3ffc0603bbc338f9a24bd7d278b72d5c9d7 (diff)
downloadmicropython-87dfc765706222d8be348f9ad78ad2c704704f53.tar.gz
micropython-87dfc765706222d8be348f9ad78ad2c704704f53.zip
unix: Rename define for unix moduselect to MICROPY_PY_USELECT_POSIX.
To not conflict with recently made available globally baremetal moduselect.
Diffstat (limited to 'unix/moduselect.c')
-rw-r--r--unix/moduselect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/moduselect.c b/unix/moduselect.c
index 4a6973c0d5..3b5daa53d6 100644
--- a/unix/moduselect.c
+++ b/unix/moduselect.c
@@ -27,7 +27,7 @@
#include "py/mpconfig.h"
-#if MICROPY_PY_USELECT
+#if MICROPY_PY_USELECT_POSIX
#include <stdio.h>
#include <errno.h>
@@ -238,4 +238,4 @@ const mp_obj_module_t mp_module_uselect = {
.globals = (mp_obj_dict_t*)&mp_module_select_globals,
};
-#endif // MICROPY_PY_USELECT
+#endif // MICROPY_PY_USELECT_POSIX