summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-22 12:33:23 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-10-22 12:33:23 +0200
commit08fe9f9fd03cdb6896e4d05cdc4175c129de63f0 (patch)
treedf714de7dd0eb0e469d338b30e718cda21632326 /PC/pyconfig.h
parent540a144e57b30613aa4e8d36083cbe37ce0a8662 (diff)
downloadcpython-08fe9f9fd03cdb6896e4d05cdc4175c129de63f0.tar.gz
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/pyconfig.h')
-rw-r--r--PC/pyconfig.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 49c25997b5..9cdc4c5a95 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.