aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2023-12-11 21:53:59 +0000
committerBrent Cook <busterb@gmail.com>2024-03-03 15:32:50 -0600
commit5809029cb1fddf12726ab6aa557610234358e940 (patch)
treebabb0dcb877a5b783a1131f159aeda979696bc4f /crypto
parent4f0ae7a991e0770c922998d33c008d860e97288b (diff)
downloadportable-5809029cb1fddf12726ab6aa557610234358e940.tar.gz
portable-5809029cb1fddf12726ab6aa557610234358e940.tar.bz2
portable-5809029cb1fddf12726ab6aa557610234358e940.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.c2
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>