summaryrefslogtreecommitdiffstats
path: root/luni/src/main/native/IcuUtilities.h
diff options
context:
space:
mode:
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.