Commits

Anonymous committed 283305e

Make UnicodeString::toUTF8String(std::string&) available.

Handy for debugging.

Bug: 9276605
Change-Id: Ia3235026d4e659df4202b1fecaa2873ef646a341

Comments (0)

Files changed (1)

luni/src/main/native/IcuUtilities.h

 #ifndef ICU_UTILITIES_H_included
 #define ICU_UTILITIES_H_included
 
+#define U_HAVE_STD_STRING 1 // For UnicodeString::toUTF8String(std::string&).
+
 #include "jni.h"
 #include "unicode/utypes.h" // For UErrorCode.
 #include "unicode/locid.h" // For Locale.