libpsl icon indicating copy to clipboard operation
libpsl copied to clipboard

Fix compilation with libidn2 runtime on Windows

Open equeim opened this issue 2 years ago • 2 comments

equeim avatar Mar 22 '23 01:03 equeim

how is libidn2 added? vcpkg? I don't see this issue under MSYS2:

https://github.com/neheb/wrapdb/pull/4

neheb avatar Nov 04 '23 00:11 neheb

how is libidn2 added? vcpkg? I don't see this issue under MSYS2:

neheb/wrapdb#4

We possibly need something slightly amended, like the first answer in https://stackoverflow.com/questions/3694723/error-c3861-strcasecmp-identifier-not-found-in-visual-studio-2008

rockdaboot avatar Nov 04 '23 13:11 rockdaboot

Thanks for your contribution. It made me take another look at the use of strcasecmp. And it was just used to check if a string is not utf-8. I just pushed a hand-rolled version of this test to increase portability.

rockdaboot avatar Feb 10 '24 17:02 rockdaboot