unix/moduselect: Don't allow both posix and non-posix configurations.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
pull/6886/head
Jim Mussared 2021-02-15 15:49:20 +11:00 zatwierdzone przez Damien George
rodzic fce0bd1a2a
commit 4c54012373
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -29,6 +29,10 @@
#if MICROPY_PY_USELECT_POSIX
#if MICROPY_PY_USELECT
#error "Can't have both MICROPY_PY_USELECT and MICROPY_PY_USELECT_POSIX."
#endif
#include <stdio.h>
#include <errno.h>
#include <poll.h>