[Python-checkins] CVS: python/dist/src pyconfig.h.in,1.5,1.6

Martin v. L?wis loewis@users.sourceforge.net
Wed, 05 Sep 2001 07:45:56 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv12367

Modified Files:
	pyconfig.h.in 
Log Message:
Patch #453627: Define the following macros when compiling on a UnixWare 7.x system: 
SCO_ATAN2_BUG, SCO_ACCEPT_BUG, and STRICT_SYSV_CURSES. 
Work aroudn a bug in the SCO UnixWare atan2() implementation.


Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pyconfig.h.in	2001/08/15 17:14:33	1.5
--- pyconfig.h.in	2001/09/05 14:45:54	1.6
***************
*** 717,718 ****
--- 717,725 ----
  #endif
  #endif
+ 
+ /* Define the macros needed if on a UnixWare 7.x system. */
+ #if defined(__USLC__) && defined(__SCO_VERSION__)
+ #define SCO_ACCEPT_BUG     /* Use workaround for UnixWare accept() bug */
+ #define SCO_ATAN2_BUG      /* Use workaround for UnixWare atan2() bug */
+ #define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
+ #endif