diff options
author | Brent Cook <bcook@openbsd.org> | 2015-09-08 15:00:09 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-09-11 16:36:18 -0500 |
commit | 9c2f0ef51ce8d0f9210497f3b81b01c073cac3ae (patch) | |
tree | cd0fef0d27cfac39ca710ed9a288f6f9603656be /libtls-standalone | |
parent | e13a39a5a7139430d31fe1103a4bf121f65b3169 (diff) | |
download | portable-9c2f0ef51ce8d0f9210497f3b81b01c073cac3ae.tar.gz portable-9c2f0ef51ce8d0f9210497f3b81b01c073cac3ae.tar.bz2 portable-9c2f0ef51ce8d0f9210497f3b81b01c073cac3ae.zip |
updates for MSVC 2015's degenerate headers
Note that 'perror' moves from stdio.h to stdlib.h, and 'rename' moves
from stdio.h to io.h. Also, standard C includes move from the compiler
to the Windows SDK, which changes the base path for the include files.
Diffstat (limited to 'libtls-standalone')
-rw-r--r-- | libtls-standalone/include/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libtls-standalone/include/string.h b/libtls-standalone/include/string.h index eabc4c4..f0a0711 100644 --- a/libtls-standalone/include/string.h +++ b/libtls-standalone/include/string.h | |||
@@ -7,7 +7,11 @@ | |||
7 | #define LIBCRYPTOCOMPAT_STRING_H | 7 | #define LIBCRYPTOCOMPAT_STRING_H |
8 | 8 | ||
9 | #ifdef _MSC_VER | 9 | #ifdef _MSC_VER |
10 | #if _MSC_VER >= 1900 | ||
11 | #include <../ucrt/string.h> | ||
12 | #else | ||
10 | #include <../include/string.h> | 13 | #include <../include/string.h> |
14 | #endif | ||
11 | #else | 15 | #else |
12 | #include_next <string.h> | 16 | #include_next <string.h> |
13 | #endif | 17 | #endif |