libftdi Archives

Subject: Re: purge_test not compatible with MinGW

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 22 Jul 2020 16:27:17 +0800
On Tue, Jul 21, 2020 at 5:14 PM Thomas Jarosch
<thomas.jarosch@xxxxxxxxxxxxx> wrote:
> You wrote on Sat, Jul 18, 2020 at 08:42:01PM +0800:
> > termios.h is not available so the build of purge_test will fail
> > under Windows with MinGW. Tested with MSYS2.
>
> hmm, good point. We seem to have another "MINGW" conditional already.
> Or is it better to just look for "WIN32"?

I think we should look for MINGW. Cygwin has termios.h.

> Could you prepare a small patch to skip the binary & test it?
>

Okay, let me try. I do not know much about CMake.

-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread