Skip to content

Commit b176203

Browse files
committed
#16135: Removal of OS/2 support (C code and Docs)
1 parent 14c81ab commit b176203

5 files changed

Lines changed: 2 additions & 29 deletions

File tree

Include/osdefs.h

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@ extern "C" {
99

1010
/* Mod by chrish: QNX has WATCOM, but isn't DOS */
1111
#if !defined(__QNX__)
12-
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
13-
#if defined(PYOS_OS2) && defined(PYCC_GCC)
14-
#define MAXPATHLEN 260
15-
#define SEP L'/'
16-
#define ALTSEP L'\\'
17-
#else
12+
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__)
1813
#define SEP L'\\'
1914
#define ALTSEP L'/'
2015
#define MAXPATHLEN 256
21-
#endif
2216
#define DELIM L';'
2317
#endif
2418
#endif

Include/pyport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,9 +379,6 @@ typedef size_t Py_uhash_t;
379379
#endif
380380

381381
#ifdef HAVE_SYS_STAT_H
382-
#if defined(PYOS_OS2) && defined(PYCC_GCC)
383-
#include <sys/types.h>
384-
#endif
385382
#include <sys/stat.h>
386383
#elif defined(HAVE_STAT_H)
387384
#include <stat.h>

PC/python.mk

Lines changed: 0 additions & 5 deletions
This file was deleted.

PC/readme.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,6 @@ Legacy support for older versions of Visual Studio
7979
The subdirectories VC6, VS7.1 and VS8.0 contain legacy support older
8080
versions of Microsoft Visual Studio. See PCbuild/readme.txt.
8181

82-
EMX development tools for OS/2
83-
==============================
84-
85-
See os2emx/readme.txt. This platform is maintained by Andrew MacIntyre.
86-
87-
IBM VisualAge C/C++ for OS/2
88-
============================
89-
90-
See os2vacpp/readme.txt. This platform is supported by Jeff Rush.
91-
92-
NOTE: Support for os2vacpp may be dropped in the near future. Please move
93-
to EMX.
94-
9582
Note for Windows 3.x and DOS users
9683
==================================
9784

Tools/freeze/freeze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def main():
125125
# default the exclude list for each platform
126126
if win: exclude = exclude + [
127127
'dos', 'dospath', 'mac', 'macpath', 'macfs', 'MACFS', 'posix',
128-
'os2', 'ce',
128+
'ce',
129129
]
130130

131131
fail_import = exclude[:]

0 commit comments

Comments
 (0)