diff options
| author | Kai Pastor <dg0yt@darc.de> | 2021-07-26 20:02:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-26 11:02:24 -0700 |
| commit | b57e29a6ceb3ca1382eca103dee876c7d2ac25ca (patch) | |
| tree | 2bc9494ecbf59c5b9acc7d3632e227a2f888e754 /ports/libidn2/string.h | |
| parent | be01bbc3e1bd99d212225168c6c41329b5dbc969 (diff) | |
| download | vcpkg-b57e29a6ceb3ca1382eca103dee876c7d2ac25ca.tar.gz vcpkg-b57e29a6ceb3ca1382eca103dee876c7d2ac25ca.zip | |
[libidn2] Fixes for mingw and minor issues (#19002)
* Fix port's cmake buildsystem for mingw
* Install pc file for windows
* Modernize portfile
* Increment port-version
* x-add-version
* Use libunistring for non-windows
* CR and doc changes
* Update git-tree
Diffstat (limited to 'ports/libidn2/string.h')
| -rw-r--r-- | ports/libidn2/string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/libidn2/string.h b/ports/libidn2/string.h index 7ed5f5fdc..0147d8357 100644 --- a/ports/libidn2/string.h +++ b/ports/libidn2/string.h @@ -5,6 +5,10 @@ char * strchrnul (const char *s, int c_in); int strverscmp (const char *s1, const char *s2); void * rawmemchr (const void *s, int c_in); +#if defined(__MINGW32__) +#include <../include/string.h> +#elif defined(_WIN32) #include <../ucrt/string.h> +#endif #endif /* _GL_STRING_H */ |
