VirtualBox

Changeset 40654 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Mar 26, 2012 6:20:52 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77086
Message:

Runtime/r3, RDP: Solaris 11 iconv change.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/utf8-posix.cpp

    r40651 r40654  
    4040#include <locale.h>
    4141
     42/* iconv prototype changed with 165+ (thanks to PSARC/2010/160 Bugster 7037400) */
    4243#if defined(RT_OS_SOLARIS)
    4344# if !defined(_XPG6)
     
    193194            const void *pvInputLeft = pvInput;
    194195            void       *pvOutputLeft = pvOutput;
    195 #if defined(RT_OS_LINUX) || (defined(RT_OS_SOLARIS) && !defined(VBOX_SOLARIS_11_LEGACY_ICONV)) || (defined(RT_OS_DARWIN) && defined(_DARWIN_FEATURE_UNIX_CONFORMANCE)) /* there are different opinions about the constness of the input buffer. */
     196#if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) || (defined(RT_OS_DARWIN) && defined(_DARWIN_FEATURE_UNIX_CONFORMANCE)) /* there are different opinions about the constness of the input buffer. */
    196197            if (iconv(hIconv, (char **)&pvInputLeft, &cbInLeft, (char **)&pvOutputLeft, &cbOutLeft) != (size_t)-1)
    197198#else
     
    319320            const void *pvInputLeft = pvInput;
    320321            void       *pvOutputLeft = pvOutput;
    321 #if defined(RT_OS_LINUX) || (defined(RT_OS_SOLARIS) && !defined(VBOX_SOLARIS_11_LEGACY_ICONV)) || (defined(RT_OS_DARWIN) && defined(_DARWIN_FEATURE_UNIX_CONFORMANCE)) /* there are different opinions about the constness of the input buffer. */
     322#if defined(RT_OS_LINUX) || defined(RT_OS_SOLARIS) || (defined(RT_OS_DARWIN) && defined(_DARWIN_FEATURE_UNIX_CONFORMANCE)) /* there are different opinions about the constness of the input buffer. */
    322323            if (iconv(icHandle, (char **)&pvInputLeft, &cbInLeft, (char **)&pvOutputLeft, &cbOutLeft) != (size_t)-1)
    323324#else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette