summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 00:27:40 (GMT)
committerJesus Cea <jcea@jcea.es>2012-10-05 00:27:40 (GMT)
commitb176203ddab0671fb937c488492f4a535a37c639 (patch)
tree87e05157028ba1a747af82d46dafc6aa3c54603c /Include
parent14c81aba509904959a86f14ccd180f714e6b753d (diff)
downloadcpython-b176203ddab0671fb937c488492f4a535a37c639.zip
cpython-b176203ddab0671fb937c488492f4a535a37c639.tar.gz
cpython-b176203ddab0671fb937c488492f4a535a37c639.tar.bz2
#16135: Removal of OS/2 support (C code and Docs)
Diffstat (limited to 'Include')
-rw-r--r--Include/osdefs.h8
-rw-r--r--Include/pyport.h3
2 files changed, 1 insertions, 10 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>