Use correct feature test for presence of ucnv functions.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37437 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2013-12-07 17:48:10 +00:00
parent 52fa3a2c07
commit 3295120967
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-12-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/Unicode.m (GSPrivateDefaultCStringEncoding):
Use correct feature test for presence of ucnv functions.
2013-12-05 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSDictionary.h:

View file

@ -2566,7 +2566,7 @@ GSPrivateDefaultCStringEncoding()
if (natEnc == GSUndefinedEncoding)
{
/* Encoding not set */
#if GS_USE_ICU == 1
#if HAVE_UNICODE_UCNV_H
const char *defaultName;
UErrorCode err = U_ZERO_ERROR;