[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 094eb04: Fix MS-Windows build with mingw.org's MinGW
From: |
Eli Zaretskii |
Subject: |
Re: master 094eb04: Fix MS-Windows build with mingw.org's MinGW |
Date: |
Tue, 26 Nov 2019 21:33:21 +0200 |
> Date: Tue, 26 Nov 2019 20:50:48 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden
>
> > GetAdaptersAddresses returns wchar_t* for the description field, which
> > means (I hope), that thereʼs some api for converting it appropriately.
>
> We can use wcsstr instead.
Alternatively, convert to ASCII with pWideCharToMultiByte (see
filename_to_ansi for an example), and then use strstr.