Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1309)

Unified Diff: patches/data_symb.patch

Issue 926113004: Move stubdata.c from icudata to icuuc (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« icu.gyp ('K') | « icu.gyp ('k') | source/common/unicode/utypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/data_symb.patch
diff --git a/patches/data_symb.patch b/patches/data_symb.patch
new file mode 100644
index 0000000000000000000000000000000000000000..6c54896c3022c598984d64182017a640023a80e5
--- /dev/null
+++ b/patches/data_symb.patch
@@ -0,0 +1,16 @@
+diff --git a/source/common/unicode/utypes.h b/source/common/unicode/utypes.h
+index 99c47da..6c1a540 100644
+--- a/source/common/unicode/utypes.h
++++ b/source/common/unicode/utypes.h
+@@ -305,7 +305,11 @@ typedef double UDate;
+ #define U_IO_API
+ #define U_TOOLUTIL_API
+ #elif defined(U_COMMON_IMPLEMENTATION)
++#if defined(U_ICUDATAENTRY_IN_COMMON)
++#define U_DATA_API U_EXPORT
++#else
+ #define U_DATA_API U_IMPORT
++#endif
+ #define U_COMMON_API U_EXPORT
+ #define U_I18N_API U_IMPORT
+ #define U_LAYOUT_API U_IMPORT
« icu.gyp ('K') | « icu.gyp ('k') | source/common/unicode/utypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698