Update of /cvsroot/python/python/dist/src/Modules In directory slayer.i.sourceforge.net:/tmp/cvs-serv3484 Modified Files: selectmodule.c Log Message: Add #ifdef's for platforms that don't have the constants POLLRDNORM and friends. (Modified version of patch #101682 from Neil Schemenauer) Index: selectmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/selectmodule.c,v retrieving revision 2.47 retrieving revision 2.48 diff -C2 -r2.47 -r2.48 *** selectmodule.c 2000/09/26 05:46:01 2.47 --- selectmodule.c 2000/09/28 21:33:44 2.48 *************** *** 642,649 **** --- 642,657 ---- insint(d, "POLLNVAL", POLLNVAL); + #ifdef POLLRDNORM insint(d, "POLLRDNORM", POLLRDNORM); + #endif + #ifdef POLLRDBAND insint(d, "POLLRDBAND", POLLRDBAND); + #endif + #ifdef POLLWRNORM insint(d, "POLLWRNORM", POLLWRNORM); + #endif + #ifdef POLLWRBAND insint(d, "POLLWRBAND", POLLWRBAND); + #endif #ifdef POLLMSG insint(d, "POLLMSG", POLLMSG);
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4