Skip to content

Commit

Permalink
Merge pull request #125 from microsoft/pal/1.6.11-0
Browse files Browse the repository at this point in the history
1.6.11-0
  • Loading branch information
deepakjain111 committed Dec 7, 2022
2 parents 637d092 + d2db43e commit bb88c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/code/scxcorelib/util/scxstream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#if defined(sun)

#include <scxcorelib/scxthreadlock.h>
#include <iconv.h>
#include <stdlib.h>
#include <errno.h>
Expand Down Expand Up @@ -655,7 +656,7 @@ namespace SCXCoreLib {
}

static const unsigned int BUFSIZE = 10;

SCXCoreLib::SCXThreadLock lock(SCXCoreLib::ThreadLockHandleGet(L"IconvLock"));
iconv_t ic = SCXCoreLib::SCXLocaleContext::GetToUTF8iconv();

if (ic == NULL)
Expand Down

0 comments on commit bb88c49

Please sign in to comment.