mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Remove support for BeOS
This commit is contained in:
parent
e9af284e99
commit
eb33e5ae79
24 changed files with 8150 additions and 10214 deletions
|
|
@ -500,12 +500,6 @@ in platform-specific #ifdefs.
|
|||
extern int gethostname(char *, int);
|
||||
#endif
|
||||
|
||||
#ifdef __BEOS__
|
||||
/* Unchecked */
|
||||
/* It's in the libs, but not the headers... - [cjh] */
|
||||
int shutdown(int, int);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE__GETPTY
|
||||
#include <sys/types.h> /* we need to import mode_t */
|
||||
extern char * _getpty(int *, int, mode_t, int);
|
||||
|
|
@ -577,10 +571,10 @@ extern double hypot(double, double);
|
|||
/*
|
||||
All windows ports, except cygwin, are handled in PC/pyconfig.h.
|
||||
|
||||
BeOS and cygwin are the only other autoconf platform requiring special
|
||||
linkage handling and both of these use __declspec().
|
||||
Cygwin is the only other autoconf platform requiring special
|
||||
linkage handling and it uses __declspec().
|
||||
*/
|
||||
#if defined(__CYGWIN__) || defined(__BEOS__)
|
||||
#if defined(__CYGWIN__)
|
||||
# define HAVE_DECLSPEC_DLL
|
||||
#endif
|
||||
|
||||
|
|
@ -591,7 +585,7 @@ extern double hypot(double, double);
|
|||
# define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE
|
||||
# define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE
|
||||
/* module init functions inside the core need no external linkage */
|
||||
/* except for Cygwin to handle embedding (FIXME: BeOS too?) */
|
||||
/* except for Cygwin to handle embedding */
|
||||
# if defined(__CYGWIN__)
|
||||
# define PyMODINIT_FUNC __declspec(dllexport) void
|
||||
# else /* __CYGWIN__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue