diff options
author | Brent Cook <bcook@openbsd.org> | 2015-09-08 15:00:09 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-09-09 06:02:28 -0500 |
commit | 5f4e95e7c16a63bbda4f3654126cc81806f779d8 (patch) | |
tree | 07ce0a0ee863ae003046746a40c18cee2394422f /include/compat/string.h | |
parent | 9903a26661a8b7839bf711167da054a7273d9778 (diff) | |
download | portable-5f4e95e7c16a63bbda4f3654126cc81806f779d8.tar.gz portable-5f4e95e7c16a63bbda4f3654126cc81806f779d8.tar.bz2 portable-5f4e95e7c16a63bbda4f3654126cc81806f779d8.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 'include/compat/string.h')
-rw-r--r-- | include/compat/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/string.h b/include/compat/string.h index eabc4c4..f0a0711 100644 --- a/include/compat/string.h +++ b/include/compat/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 |