8000 unix/moduselect: Don't allow both posix and non-posix configurations. · micropython/micropython@4c54012 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c54012

Browse files
jimmodpgeorge
authored andcommitted
unix/moduselect: Don't allow both posix and non-posix configurations.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent fce0bd1 commit 4c54012

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/unix/moduselect.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@
2929

3030
#if MICROPY_PY_USELECT_POSIX
3131

32+
#if MICROPY_PY_USELECT
33+
#error "Can't have both MICROPY_PY_USELECT and MICROPY_PY_USELECT_POSIX."
34+
#endif
35+
3236
#include <stdio.h>
3337
#include <errno.h>
3438
#include <poll.h>

0 commit comments

Comments
 (0)
0