curl_setup_once: stop redefining ENAMETOOLONG to winsock2 error code

The only user is error display code following an `mkdir()` call. In this
case the redefinition didn't cause an issue, but was unnecessary.

Follow-up to d69425ed7d #16615
Closes #16620
This commit is contained in:
Viktor Szakats 2025-03-08 02:02:22 +01:00
parent d69425ed7d
commit 4bca9eb581
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -337,9 +337,6 @@ typedef unsigned int bit;
#define ETIMEDOUT WSAETIMEDOUT
#undef ECONNREFUSED /* override definition in errno.h */
#define ECONNREFUSED WSAECONNREFUSED
#ifndef ENAMETOOLONG /* possible previous definition in errno.h */
#define ENAMETOOLONG WSAENAMETOOLONG
#endif
#endif
/*