summaryrefslogtreecommitdiff
path: root/cc3200
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-09 22:10:01 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2015-11-09 22:10:31 +0200
commit746b752b8efd089c8dd37e615949315973a8d370 (patch)
treed1a08a928fd5ba64c08fa26391364e7dc2073adc /cc3200
parent1f92ffb5b7e3404e9a290f3e5ab95dc98a28753e (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.h4
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)