From 8fc8980c96f58a7f06e4e3133735807bd245c658 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Sun, 12 Apr 2015 00:26:27 -0400 Subject: Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler. --- Include/fileutils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/fileutils.h') diff --git a/Include/fileutils.h b/Include/fileutils.h index 2430c266c0..b4a683c176 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h @@ -121,7 +121,7 @@ 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 +#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 -- cgit v1.2.1