diff options
author | Sadie Powell <sadie@witchery.services> | 2022-12-17 12:40:58 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-12-17 12:40:58 +0000 |
commit | 8a8fb7725b4433b725866cc8842edf40ec8b7025 (patch) | |
tree | 99098049217e11c2c497a75e7b5f44bace29fe1b /src/win32/socket.h | |
parent | f6e5e6a2b4dd3f5e6e9e5c152dd92fcd9bc440f2 (diff) |
Use the native versions of inet_ntop/inet_pton on Windows.
Diffstat (limited to 'src/win32/socket.h')
-rw-r--r-- | src/win32/socket.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/win32/socket.h b/src/win32/socket.h index 147289435..9634cd718 100644 --- a/src/win32/socket.h +++ b/src/win32/socket.h @@ -21,12 +21,8 @@ extern CoreExport int read(int fd, char *buf, size_t count); extern CoreExport int write(int fd, const char *buf, size_t count); extern CoreExport int windows_close(int fd); extern CoreExport int windows_accept(int fd, struct sockaddr *addr, int *addrlen); -extern CoreExport int windows_inet_pton(int af, const char *src, void *dst); -extern CoreExport const char *windows_inet_ntop(int af, const void *src, char *dst, size_t size); extern CoreExport int fcntl(int fd, int cmd, int arg); #ifndef WIN32_NO_OVERRIDE # define accept windows_accept -# define inet_pton windows_inet_pton -# define inet_ntop windows_inet_ntop #endif |