diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-10-22 10:33:23 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-10-22 10:33:23 (GMT) |
commit | f427a141563ab2fbb231cc425141cea97e7bd220 (patch) | |
tree | 7049791588db52c48b83584fe85225c26326c626 /Modules/posixmodule.c | |
parent | 7cf710af3b4270de16ade25b69868ac1a2fef8fa (diff) | |
download | cpython-f427a141563ab2fbb231cc425141cea97e7bd220.zip cpython-f427a141563ab2fbb231cc425141cea97e7bd220.tar.gz cpython-f427a141563ab2fbb231cc425141cea97e7bd220.tar.bz2 |
Issue #22592: Drop support of the Borland C compiler to build Python
The distutils module still supports it to build extensions.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 38ba74b..0f0f1c3 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6,7 +6,7 @@ functions are either unimplemented or implemented differently. The source assumes that for Windows NT, the macro 'MS_WINDOWS' is defined independent of the compiler used. Different compilers define their own feature - test macro, e.g. '__BORLANDC__' or '_MSC_VER'. */ + test macro, e.g. '_MSC_VER'. */ @@ -143,13 +143,6 @@ corresponding Unix manual entries for more information on calls."); #define HAVE_SYSTEM 1 #include <process.h> #else -#ifdef __BORLANDC__ /* Borland compiler */ -#define HAVE_EXECV 1 -#define HAVE_OPENDIR 1 -#define HAVE_PIPE 1 -#define HAVE_SYSTEM 1 -#define HAVE_WAIT 1 -#else #ifdef _MSC_VER /* Microsoft compiler */ #define HAVE_GETPPID 1 #define HAVE_GETLOGIN 1 @@ -179,7 +172,6 @@ corresponding Unix manual entries for more information on calls."); #define HAVE_WAIT 1 #define HAVE_TTYNAME 1 #endif /* _MSC_VER */ -#endif /* __BORLANDC__ */ #endif /* ! __WATCOMC__ || __QNX__ */ @@ -214,11 +206,7 @@ extern int rmdir(char *); extern int chdir(const char *); extern int rmdir(const char *); #endif -#ifdef __BORLANDC__ -extern int chmod(const char *, int); -#else extern int chmod(const char *, mode_t); -#endif /*#ifdef HAVE_FCHMOD extern int fchmod(int, mode_t); #endif*/ |