diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-09 22:10:01 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-11-09 22:10:31 +0200 |
| commit | 746b752b8efd089c8dd37e615949315973a8d370 (patch) | |
| tree | d1a08a928fd5ba64c08fa26391364e7dc2073adc /cc3200 | |
| parent | 1f92ffb5b7e3404e9a290f3e5ab95dc98a28753e (diff) | |
stmhal/moduselect: Expose POLLIN/OUT/ERR/HUP constants.
This makes select.poll() interface fully compatible with CpYthon. Also, make
their numeric values of these options compatible with Linux (and by extension,
with iBCS2 standard, which jopefully means compatibility with other Unices too).
Diffstat (limited to 'cc3200')
| -rw-r--r-- | cc3200/qstrdefsport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cc3200/qstrdefsport.h b/cc3200/qstrdefsport.h index c4039d012..d88c05a0f 100644 --- a/cc3200/qstrdefsport.h +++ b/cc3200/qstrdefsport.h @@ -228,6 +228,10 @@ Q(register) Q(unregister) Q(modify) Q(poll) +Q(POLLIN) +Q(POLLOUT) +Q(POLLERR) +Q(POLLHUP) // for socket class Q(socket) |
