diff options
author | Viktor Szakats <commit@vsz.me> | 2023-12-11 21:53:59 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2023-12-11 21:56:09 +0000 |
commit | 529f90ddd8f95664e53a818536f093f2d936bd44 (patch) | |
tree | 44285b9226c7ab80d62ba093a58f04fae4965e60 /crypto | |
parent | 2e88c74329938b5af441736645e795289660aa38 (diff) | |
download | portable-529f90ddd8f95664e53a818536f093f2d936bd44.tar.gz portable-529f90ddd8f95664e53a818536f093f2d936bd44.tar.bz2 portable-529f90ddd8f95664e53a818536f093f2d936bd44.zip |
windows: minor compat header fixes
- posix_win.c: use `snprintf` as-is with _MSC_VER >= 1900
- stdio.h: include socket header before windows.h
- pthread.h: delete exec permission from source file
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/compat/posix_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c index b3a4687..c7cf6af 100644 --- a/crypto/compat/posix_win.c +++ b/crypto/compat/posix_win.c | |||
@@ -9,8 +9,8 @@ | |||
9 | 9 | ||
10 | #define NO_REDEF_POSIX_FUNCTIONS | 10 | #define NO_REDEF_POSIX_FUNCTIONS |
11 | 11 | ||
12 | #include <windows.h> | ||
13 | #include <ws2tcpip.h> | 12 | #include <ws2tcpip.h> |
13 | #include <windows.h> | ||
14 | 14 | ||
15 | #include <errno.h> | 15 | #include <errno.h> |
16 | #include <fcntl.h> | 16 | #include <fcntl.h> |