diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 14:45:54 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-05 14:45:54 +0000 |
commit | 56377bef4e7004b13ca95f9b0fc512ae3726a230 (patch) | |
tree | ff35053bb245f215c8ee580476957a7ab996dabd /pyconfig.h.in | |
parent | fef97a71bd94a5905f954aff6dae13f91a895210 (diff) | |
download | cpython-56377bef4e7004b13ca95f9b0fc512ae3726a230.tar.gz |
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 72fad87c6d..14fb375fc9 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 |