[Python-checkins] python/dist/src/Modules fcntlmodule.c,2.39,2.40
mwh@users.sourceforge.net
mwh@users.sourceforge.net
Fri, 09 May 2003 03:45:22 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv16635
Modified Files:
fcntlmodule.c
Log Message:
Simple fix for
[ 733781 ] fcntl fails to build on old RH Linux
Index: fcntlmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/fcntlmodule.c,v
retrieving revision 2.39
retrieving revision 2.40
diff -C2 -d -r2.39 -r2.40
*** fcntlmodule.c 3 May 2003 09:14:53 -0000 2.39
--- fcntlmodule.c 9 May 2003 10:45:20 -0000 2.40
***************
*** 557,561 ****
--- 557,564 ----
INS(I_STR);
INS(I_SWROPT);
+ #ifdef I_GWROPT
+ /* despite the comment above, old-ish glibcs miss a couple... */
INS(I_GWROPT);
+ #endif
INS(I_SENDFD);
INS(I_RECVFD);
***************
*** 566,570 ****
--- 569,575 ----
INS(I_CANPUT);
INS(I_SETCLTIME);
+ #ifdef I_GETCLTIME
INS(I_GETCLTIME);
+ #endif
INS(I_LINK);
INS(I_UNLINK);