Changeset 40654 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Mar 26, 2012 6:20:52 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/utf8-posix.cpp
r40651 r40654 40 40 #include <locale.h> 41 41 42 /* iconv prototype changed with 165+ (thanks to PSARC/2010/160 Bugster 7037400) */ 42 43 #if defined(RT_OS_SOLARIS) 43 44 # if !defined(_XPG6) … … 193 194 const void *pvInputLeft = pvInput; 194 195 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. */ 196 197 if (iconv(hIconv, (char **)&pvInputLeft, &cbInLeft, (char **)&pvOutputLeft, &cbOutLeft) != (size_t)-1) 197 198 #else … … 319 320 const void *pvInputLeft = pvInput; 320 321 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. */ 322 323 if (iconv(icHandle, (char **)&pvInputLeft, &cbInLeft, (char **)&pvOutputLeft, &cbOutLeft) != (size_t)-1) 323 324 #else
Note:
See TracChangeset
for help on using the changeset viewer.