summaryrefslogtreecommitdiff
path: root/os/windows/posix
diff options
context:
space:
mode:
authorSitsofe Wheeler <sitsofe@yahoo.com>2020-12-23 16:01:52 +0000
committerSitsofe Wheeler <sitsofe@yahoo.com>2020-12-26 08:07:22 +0000
commit26dcc08452b18f72e404760d8dc3c0bc057dacbe (patch)
tree8af841be4c78380c6f48871f74e184ac0dca4208 /os/windows/posix
parentb0340c5c7de38b3f4632366247489da7c52d5cfb (diff)
downloadfio-26dcc08452b18f72e404760d8dc3c0bc057dacbe.tar.gz
fio-26dcc08452b18f72e404760d8dc3c0bc057dacbe.tar.bz2
windows: drop XP support
Windows 2003 has been EOL since 2015 and Windows XP has been EOL since 2014. Technically fio hasn't been properly targetting XP anyway - (see 16d40a15783f9181d64082fc00a970dff485798f 'configure: be explicit about "XP" Windows API version'). - Strip out support for XP and change the documentation to no longer mention it - Stop targetting XP in the CI 32 bit build Next stop, Windows 7... Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
Diffstat (limited to 'os/windows/posix')
-rw-r--r--os/windows/posix/include/arpa/inet.h6
-rw-r--r--os/windows/posix/include/poll.h14
2 files changed, 0 insertions, 20 deletions
diff --git a/os/windows/posix/include/arpa/inet.h b/os/windows/posix/include/arpa/inet.h
index 056f1dd5..1024db37 100644
--- a/os/windows/posix/include/arpa/inet.h
+++ b/os/windows/posix/include/arpa/inet.h
@@ -12,10 +12,4 @@ typedef int in_addr_t;
in_addr_t inet_network(const char *cp);
-#ifdef CONFIG_WINDOWS_XP
-const char *inet_ntop(int af, const void *restrict src,
- char *restrict dst, socklen_t size);
-int inet_pton(int af, const char *restrict src, void *restrict dst);
-#endif
-
#endif /* ARPA_INET_H */
diff --git a/os/windows/posix/include/poll.h b/os/windows/posix/include/poll.h
index 25b8183f..5099cf2e 100644
--- a/os/windows/posix/include/poll.h
+++ b/os/windows/posix/include/poll.h
@@ -5,20 +5,6 @@
typedef int nfds_t;
-#ifdef CONFIG_WINDOWS_XP
-struct pollfd
-{
- int fd;
- short events;
- short revents;
-};
-
-#define POLLOUT 1
-#define POLLIN 2
-#define POLLERR 0
-#define POLLHUP 1
-#endif /* CONFIG_WINDOWS_XP */
-
int poll(struct pollfd fds[], nfds_t nfds, int timeout);
#endif /* POLL_H */