mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-16135: Cleanup: Code rot left over from OS/2 support (GH-4147)
Remove dangling references to PYCC_VACPP that are not relelvant since removal of OS/2 support.
This commit is contained in:
parent
843ea47a03
commit
03eb11f0b3
2 changed files with 1 additions and 12 deletions
|
@ -210,15 +210,11 @@ extern char *ctermid_r(char *);
|
|||
#endif
|
||||
|
||||
#ifndef HAVE_UNISTD_H
|
||||
#if defined(PYCC_VACPP)
|
||||
extern int mkdir(char *);
|
||||
#else
|
||||
#if ( defined(__WATCOMC__) || defined(_MSC_VER) ) && !defined(__QNX__)
|
||||
extern int mkdir(const char *);
|
||||
#else
|
||||
extern int mkdir(const char *, mode_t);
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__IBMC__) || defined(__IBMCPP__)
|
||||
extern int chdir(char *);
|
||||
extern int rmdir(char *);
|
||||
|
@ -3886,7 +3882,7 @@ os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd)
|
|||
result = mkdirat(dir_fd, path->narrow, mode);
|
||||
else
|
||||
#endif
|
||||
#if ( defined(__WATCOMC__) || defined(PYCC_VACPP) ) && !defined(__QNX__)
|
||||
#if defined(__WATCOMC__) && !defined(__QNX__)
|
||||
result = mkdir(path->narrow);
|
||||
#else
|
||||
result = mkdir(path->narrow, mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue