[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5478) Can not compile ldap_t61s_to_utf8s function from LDAP library



Full_Name: Emmanuel Duru
Version: 2.3.38
OS: Windows
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.68.44.148)


Using OpenLDAP LDAP library to perform conversions between X.500 directory data
and LDAP directory data, I need to convert values from T.61 to UTF-8.
I see that there is a t61.c file in LDAP library with a ldap_t61s_to_utf8s()
function to perform this.
The problem is that t61.c does not compile because it refers to
ldap_x_wc_to_utf8() and ldap_x_utf8_to_wc() which are defined in utf-8-conv.c
file only in case sizeof(wchar_t) >= 4, which is not the case with windows where
sizeof(wchar_t) = 2.