curl-library
Re: Minor Change to make libcurl compatible with MSVC 2013 : fix provided
Date: Fri, 22 Nov 2013 01:30:09 -0800
What are the errors you’re getting, and is there a reason that you feel that it could not be this instead? stdint.h was added in Visual Studio 2010, or 16.00.
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#include <stdint.h>
#endif
From: Torben Dannhauer
Sent: Friday, November 22, 2013 12:54 AM
To: curl-library_at_cool.haxx.se
Subject: Minor Change to make libcurl compatible with MSVC 2013 : fix provided
Dear Devs,
I changed the source file async-ares.c to conditionally include stdint.h. Without this modification, Visual Studio 2013 throws a lot of errors.
I added:
#if (_MSC_VER == 1800)
#include <stdint.h>
#endif
Please find attached the full modified file, bases in the current stable release 7.33.0
I would be happy if this minor tweak could be incorporated soon intour sources as it makes libcurl compatible with MSVC2013 .
Thanks,
Torben
--------------------------------------------------------------------------------
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-11-22