From 28341ceb8f4f7f9b8edf5fbca9c9aa03e9606f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 5 Sep 2001 15:18:00 +0000 Subject: [PATCH] Move UnixWare 7 defines to acconfig.h, regenerate pyconfig.h.in. --- acconfig.h | 8 ++++++++ pyconfig.h.in | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/acconfig.h b/acconfig.h index 0f79c6c22e3..8432f1fa725 100644 --- a/acconfig.h +++ b/acconfig.h @@ -242,3 +242,11 @@ #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 + diff --git a/pyconfig.h.in b/pyconfig.h.in index 255a9839419..662955f5bc8 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -722,3 +722,11 @@ #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 +