diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-17 12:57:41 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-17 12:57:41 (GMT) |
commit | eb33e5ae79542371a165bdb67099d14b7557a698 (patch) | |
tree | b5e2bab1636a590bf389a38965afaab1cbd90628 /Include | |
parent | e9af284e998abe3ab974b488d97c5db69c5aebf4 (diff) | |
download | cpython-eb33e5ae79542371a165bdb67099d14b7557a698.zip cpython-eb33e5ae79542371a165bdb67099d14b7557a698.tar.gz cpython-eb33e5ae79542371a165bdb67099d14b7557a698.tar.bz2 |
Remove support for BeOS
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pyport.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index 410c955..266c13a 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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__ */ |