Update of /cvsroot/python/python/dist/src/Include In directory usw-pr-cvs1:/tmp/cvs-serv12728/Include Modified Files: Python.h Log Message: Define _XOPEN_SOURCE in configure and Python.h. This gets compilation of posixmodule.c to succeed on Tru64 and does no harm on Linux. We may need to undefine it on some platforms, but let's wait and see. Martin says: > I think it is generally the right thing to define _XOPEN_SOURCE on > Unix, providing a negative list of systems that cannot support this > setting (or preferably solving whatever problems remain). > > I'd put an (unconditional) AC_DEFINE into configure.in early on; it > *should* go into confdefs.h as configure proceeds, and thus be active > when other tests are performed. Index: Python.h =================================================================== RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v retrieving revision 2.54 retrieving revision 2.55 diff -C2 -d -r2.54 -r2.55 *** Python.h 12 Jul 2002 05:01:20 -0000 2.54 --- Python.h 18 Jul 2002 22:39:34 -0000 2.55 *************** *** 10,20 **** #endif - /* Forcing SUSv2 compatibility still produces problems on some - platforms, True64 and SGI IRIX being two of them, so for now the - define is switched off. */ - #if 0 #ifndef _XOPEN_SOURCE ! # define _XOPEN_SOURCE 500 ! #endif #endif --- 10,15 ---- #endif #ifndef _XOPEN_SOURCE ! # define _XOPEN_SOURCE 500 #endif
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