libftdi Archives

Subject: [PATCH] ftdi.h timeval win32 fix

From: "Jon Beniston" <jon@xxxxxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jul 2016 10:43:35 +0100

Hi,

 

The attached patch fixes compilation with Visual Studio:

 

-          sys/time.h isn’t available on Windows. timeval is defined within windows includes.

 

Patch compiles OK for Cygwin/Ming too.

 

Cheers,

Jon

 



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


Attachment: win32.patch
Description: Binary data

Current Thread