cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1207 libcurl compilation on Windows with unicode support enabled.

From: Étienne Dupuis <kwtc_at_users.sf.net>
Date: Wed, 03 Apr 2013 07:39:59 +0000

This patch does not bring any changes to users; it only helps developers who happens to build libcurl with unicode support enabled.

The patch replaces calls to ldap_init() win32 macro (which is equal to function ldap_initA() or ldap_initW() depending on the compilation options) by calls to ldap_initA().

This A/W function mecanism is well explained on this page : http://msdn.microsoft.com/en-us/library/windows/desktop/dd317766(v=vs.85).aspx

Feel free to include it or reject it.

---
** [bugs:#1207] libcurl compilation on Windows with unicode support enabled.**
**Status:** open
**Created:** Mon Mar 18, 2013 11:06 AM UTC by Étienne Dupuis
**Last Updated:** Mon Apr 01, 2013 09:08 PM UTC
**Owner:** Daniel Stenberg
libcurl ldap.c fails to compile properly on Windows when Unicode support is enabled. See attached patch; basically WIN32 API functions should be suffixed by 'A' to use 'char' implementations rather than 'wchar' implementations.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1207/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/subscriptions/>
Received on 2013-04-03

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET