summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-22 10:33:23 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-22 10:33:23 (GMT)
commitf427a141563ab2fbb231cc425141cea97e7bd220 (patch)
tree7049791588db52c48b83584fe85225c26326c626 /PC
parent7cf710af3b4270de16ade25b69868ac1a2fef8fa (diff)
downloadcpython-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 'PC')
-rw-r--r--PC/pyconfig.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 49c2599..9cdc4c5 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -227,35 +227,6 @@ typedef int pid_t;
#endif /* _MSC_VER */
/* ------------------------------------------------------------------------*/
-/* The Borland compiler defines __BORLANDC__ */
-/* XXX These defines are likely incomplete, but should be easy to fix. */
-#ifdef __BORLANDC__
-#define COMPILER "[Borland]"
-
-#ifdef _WIN32
-/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
- */
-
-typedef int pid_t;
-/* BCC55 seems to understand __declspec(dllimport), it is used in its
- own header files (winnt.h, ...) - so we can do nothing and get the default*/
-
-#undef HAVE_SYS_UTIME_H
-#define HAVE_UTIME_H
-#define HAVE_DIRENT_H
-
-/* rename a few functions for the Borland compiler */
-#include <io.h>
-#define _chsize chsize
-#define _setmode setmode
-
-#else /* !_WIN32 */
-#error "Only Win32 and later are supported"
-#endif /* !_WIN32 */
-
-#endif /* BORLANDC */
-
-/* ------------------------------------------------------------------------*/
/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
#if defined(__GNUC__) && defined(_WIN32)
/* XXX These defines are likely incomplete, but should be easy to fix.