Quantcast

[PATCH] ftdi.h timeval win32 fix

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] ftdi.h timeval win32 fix

Jon Beniston

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 [hidden email]



win32.patch (422 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] ftdi.h timeval win32 fix

Thomas Jarosch
Hi,

On Sunday, 17. July 2016 10:43:35 Jon Beniston wrote:
> The attached patch fixes compilation with Visual Studio:

applied, thanks!

I'll look at your other patch and the patch from MichaƂ next week,
this week was too busy with a software rollout.

Cheers,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]

Loading...