summaryrefslogtreecommitdiffstats
path: root/luni/src/main/native/IcuUtilities.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-07-29 17:48:42 -0700
committerElliott Hughes <enh@google.com>2013-07-29 17:48:42 -0700
commit283305e2eabd3b250e26ec5a8a56c18ae5161867 (patch)
tree5acec73b38a2b763f160ef199431d81b00e734cd /luni/src/main/native/IcuUtilities.h
parent5c0fd2bb16845caf66c282b95a6c232a8a2dcbc8 (diff)
downloadlibcore-283305e2eabd3b250e26ec5a8a56c18ae5161867.zip
libcore-283305e2eabd3b250e26ec5a8a56c18ae5161867.tar.gz
libcore-283305e2eabd3b250e26ec5a8a56c18ae5161867.tar.bz2
Make UnicodeString::toUTF8String(std::string&) available.
Handy for debugging. Bug: 9276605 Change-Id: Ia3235026d4e659df4202b1fecaa2873ef646a341
Diffstat (limited to 'luni/src/main/native/IcuUtilities.h')
-rw-r--r--luni/src/main/native/IcuUtilities.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/luni/src/main/native/IcuUtilities.h b/luni/src/main/native/IcuUtilities.h
index 219d663..d93282c 100644
--- a/luni/src/main/native/IcuUtilities.h
+++ b/luni/src/main/native/IcuUtilities.h
@@ -17,6 +17,8 @@
#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.