summaryrefslogtreecommitdiff
path: root/tools/aapt/StringPool.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt/StringPool.h')
-rw-r--r--tools/aapt/StringPool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/aapt/StringPool.h b/tools/aapt/StringPool.h
index 1b3abfd9b4c6..a9c7becbe700 100644
--- a/tools/aapt/StringPool.h
+++ b/tools/aapt/StringPool.h
@@ -26,7 +26,10 @@ using namespace android;
#define PRINT_STRING_METRICS 0
-void strcpy16_htod(uint16_t* dst, const uint16_t* src);
+#if __cplusplus >= 201103L
+void strcpy16_htod(char16_t* dst, const char16_t* src);
+#endif
+void strcpy16_htod(uint16_t* dst, const char16_t* src);
void printStringPool(const ResStringPool* pool);