diff options
author | Jesus Cea <jcea@jcea.es> | 2012-10-05 00:27:40 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-10-05 00:27:40 (GMT) |
commit | b176203ddab0671fb937c488492f4a535a37c639 (patch) | |
tree | 87e05157028ba1a747af82d46dafc6aa3c54603c | |
parent | 14c81aba509904959a86f14ccd180f714e6b753d (diff) | |
download | cpython-b176203ddab0671fb937c488492f4a535a37c639.zip cpython-b176203ddab0671fb937c488492f4a535a37c639.tar.gz cpython-b176203ddab0671fb937c488492f4a535a37c639.tar.bz2 |
#16135: Removal of OS/2 support (C code and Docs)
-rw-r--r-- | Include/osdefs.h | 8 | ||||
-rw-r--r-- | Include/pyport.h | 3 | ||||
-rw-r--r-- | PC/python.mk | 5 | ||||
-rw-r--r-- | PC/readme.txt | 13 | ||||
-rwxr-xr-x | Tools/freeze/freeze.py | 2 |
5 files changed, 2 insertions, 29 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h index 90b430a..ed88da1 100644 --- a/Include/osdefs.h +++ b/Include/osdefs.h @@ -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 diff --git a/Include/pyport.h b/Include/pyport.h index eba34f9..284e6da 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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> diff --git a/PC/python.mk b/PC/python.mk deleted file mode 100644 index a765106..0000000 --- a/PC/python.mk +++ /dev/null @@ -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
diff --git a/PC/readme.txt b/PC/readme.txt index fdc09ab..60f231e 100644 --- a/PC/readme.txt +++ b/PC/readme.txt @@ -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 ================================== diff --git a/Tools/freeze/freeze.py b/Tools/freeze/freeze.py index a41267a..769a2d1 100755 --- a/Tools/freeze/freeze.py +++ b/Tools/freeze/freeze.py @@ -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[:] |