windows: target Windows 7 and add support for more than 64 CPUs
[fio.git] / os / windows / posix.c
index ecc8c40885fc622c43537869f85ea9ec007d2a78..d33250de0f85ab9f0c1ccb6b0df36feb1c805b17 100755 (executable)
@@ -959,6 +959,7 @@ in_addr_t inet_network(const char *cp)
        return hbo;
 }
 
+#ifdef CONFIG_WINDOWS_XP
 const char* inet_ntop(int af, const void *restrict src,
                char *restrict dst, socklen_t size)
 {
@@ -1039,3 +1040,4 @@ int inet_pton(int af, const char *restrict src, void *restrict dst)
 
        return ret;
 }
+#endif /* CONFIG_WINDOWS_XP */