mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #555929: Cygwin AH_BOTTOM cleanup patch (*** version 2 ***)
This patch complies with the following request found near the top of configure.in: # This is for stuff that absolutely must end up in pyconfig.h. # Please use pyport.h instead, if possible. I tested this patch under Cygwin, Win32, and Red Hat Linux. Python built and ran successfully on each of these platforms.
This commit is contained in:
parent
1bdd9b033a
commit
bc48826dc2
5 changed files with 19 additions and 29 deletions
10
configure.in
10
configure.in
|
@ -7,16 +7,6 @@ AC_CONFIG_HEADER(pyconfig.h)
|
|||
# This is for stuff that absolutely must end up in pyconfig.h.
|
||||
# Please use pyport.h instead, if possible.
|
||||
AH_BOTTOM([
|
||||
#ifdef __CYGWIN__
|
||||
#ifdef USE_DL_IMPORT
|
||||
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
|
||||
#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
|
||||
#else
|
||||
#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
|
||||
#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 STRICT_SYSV_CURSES /* Don't use ncurses extensions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue