diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 18:21:54 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 18:21:54 (GMT) |
commit | 940f33a50f3877cbde7adb59ba6e1a0a0acd3d11 (patch) | |
tree | 7a326f041f1187cdbd6622e7eb97ceb2af6c0d44 /Include/fileutils.h | |
parent | dee6e252cc59c3143786f3e4cfaa1a6c335381b6 (diff) | |
download | cpython-940f33a50f3877cbde7adb59ba6e1a0a0acd3d11.zip cpython-940f33a50f3877cbde7adb59ba6e1a0a0acd3d11.tar.gz cpython-940f33a50f3877cbde7adb59ba6e1a0a0acd3d11.tar.bz2 |
Issue #23524: Finish removing _PyVerify_fd from sources
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r-- | Include/fileutils.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h index b4a683c..63ff80e 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h @@ -121,18 +121,6 @@ PyAPI_FUNC(int) _Py_get_blocking(int fd); PyAPI_FUNC(int) _Py_set_blocking(int fd, int blocking); #endif /* !MS_WINDOWS */ -#if defined _MSC_VER && _MSC_VER >= 1400 && _MSC_VER < 1900 -/* A routine to check if a file descriptor is valid on Windows. Returns 0 - * and sets errno to EBADF if it isn't. This is to avoid Assertions - * from various functions in the Windows CRT beginning with - * Visual Studio 2005 - */ -int _PyVerify_fd(int fd); - -#else -#define _PyVerify_fd(A) (1) /* dummy */ -#endif - #endif /* Py_LIMITED_API */ #ifdef __cplusplus |