Skip to content

Commit 547fa26

Browse files
committed
cpp-httplib : allow _WIN32_WINNT >= 0x0602
Signed-off-by: Adrien Gallouët <angt@huggingface.co>
1 parent 649ffdc commit 547fa26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vendor/cpp-httplib/httplib.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@
3131
"cpp-httplib doesn't support platforms where size_t is less than 64 bits."
3232
#endif
3333

34+
// TODO: check this
3435
#ifdef _WIN32
35-
#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0A00
36-
#error \
37-
"cpp-httplib doesn't support Windows 8 or lower. Please use Windows 10 or later."
36+
#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0602
37+
#error \
38+
"cpp-httplib doesn't support Windows versions below Windows 8."
3839
#endif
3940
#endif
4041

0 commit comments

Comments
 (0)