mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
bpo-40280: Move hard-coded feature checks to configure (GH-29789)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
This commit is contained in:
parent
b0b10e146b
commit
4ebde73b8e
5 changed files with 88 additions and 70 deletions
|
|
@ -320,26 +320,6 @@ corresponding Unix manual entries for more information on calls.");
|
|||
# define HAVE_CWAIT 1
|
||||
# define HAVE_FSYNC 1
|
||||
# define fsync _commit
|
||||
# else
|
||||
/* Unix functions that the configure script doesn't check for */
|
||||
# ifndef __VXWORKS__
|
||||
# define HAVE_EXECV 1
|
||||
# define HAVE_FORK 1
|
||||
# if defined(__USLC__) && defined(__SCO_VERSION__) /* SCO UDK Compiler */
|
||||
# define HAVE_FORK1 1
|
||||
# endif
|
||||
# endif
|
||||
# define HAVE_GETEGID 1
|
||||
# define HAVE_GETEUID 1
|
||||
# define HAVE_GETGID 1
|
||||
# define HAVE_GETPPID 1
|
||||
# define HAVE_GETUID 1
|
||||
# define HAVE_KILL 1
|
||||
# define HAVE_OPENDIR 1
|
||||
# define HAVE_PIPE 1
|
||||
# define HAVE_SYSTEM 1
|
||||
# define HAVE_WAIT 1
|
||||
# define HAVE_TTYNAME 1
|
||||
# endif /* _MSC_VER */
|
||||
#endif /* ! __WATCOMC__ || __QNX__ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue