diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 14:45:54 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 14:45:54 (GMT) |
commit | 655c9557f6e0da64527cb6f97da65d4b59232c29 (patch) | |
tree | 1687a38473130b51b1e762a50fea8104c69461f5 /pyconfig.h.in | |
parent | 0ace326ed2ec73dfa515c89ad06fcddd6fafa4ce (diff) | |
download | cpython-655c9557f6e0da64527cb6f97da65d4b59232c29.zip cpython-655c9557f6e0da64527cb6f97da65d4b59232c29.tar.gz cpython-655c9557f6e0da64527cb6f97da65d4b59232c29.tar.bz2 |
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.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 72fad87..14fb375 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -716,3 +716,10 @@ #define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE #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 |