VirtualBox

Changeset 5588 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Oct 31, 2007 9:18:00 PM (17 years ago)
Author:
vboxsync
Message:

Leopard build fix.

File:
1 edited

Legend:

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

    r4071 r5588  
    102102            const void *pvInputLeft = pvInput;
    103103            void       *pvOutputLeft = pvOutput;
    104 #ifdef RT_OS_LINUX /* glibc has an incorrect declaration of the api. */
     104#if defined(RT_OS_LINUX) || defined(_LIBICONV_VERSION) /* there are different opinions about the constness of the input buffer. */
    105105            if (iconv(icHandle, (char **)&pvInputLeft, &cbInLeft, (char **)&pvOutputLeft, &cbOutLeft) != (size_t)-1)
    106106#else
Note: See TracChangeset for help on using the changeset viewer.

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