#16135: Removal of OS/2 support (C code and Docs)

This commit is contained in:
Jesus Cea 2012-10-05 02:27:40 +02:00
parent 14c81aba50
commit b176203dda
5 changed files with 2 additions and 29 deletions

View File

@ -9,16 +9,10 @@ extern "C" {
/* Mod by chrish: QNX has WATCOM, but isn't DOS */
#if !defined(__QNX__)
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#define MAXPATHLEN 260
#define SEP L'/'
#define ALTSEP L'\\'
#else
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__)
#define SEP L'\\'
#define ALTSEP L'/'
#define MAXPATHLEN 256
#endif
#define DELIM L';'
#endif
#endif

View File

@ -379,9 +379,6 @@ typedef size_t Py_uhash_t;
#endif
#ifdef HAVE_SYS_STAT_H
#if defined(PYOS_OS2) && defined(PYCC_GCC)
#include <sys/types.h>
#endif
#include <sys/stat.h>
#elif defined(HAVE_STAT_H)
#include <stat.h>

View File

@ -1,5 +0,0 @@
project : n:\python\python-1.5.1\pc\wat_os2\pyth_os2.exe n:\python\python-1.&
5.1\pc\wat_dos\pyth_dos.exe .SYMBOLIC
!include n:\python\python-1.5.1\pc\wat_os2\pyth_os2.mk1
!include n:\python\python-1.5.1\pc\wat_dos\pyth_dos.mk1

View File

@ -79,19 +79,6 @@ Legacy support for older versions of Visual Studio
The subdirectories VC6, VS7.1 and VS8.0 contain legacy support older
versions of Microsoft Visual Studio. See PCbuild/readme.txt.
EMX development tools for OS/2
==============================
See os2emx/readme.txt. This platform is maintained by Andrew MacIntyre.
IBM VisualAge C/C++ for OS/2
============================
See os2vacpp/readme.txt. This platform is supported by Jeff Rush.
NOTE: Support for os2vacpp may be dropped in the near future. Please move
to EMX.
Note for Windows 3.x and DOS users
==================================

View File

@ -125,7 +125,7 @@ def main():
# default the exclude list for each platform
if win: exclude = exclude + [
'dos', 'dospath', 'mac', 'macpath', 'macfs', 'MACFS', 'posix',
'os2', 'ce',
'ce',
]
fail_import = exclude[:]