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

Unified Diff: patches/pnacl.h.patch

Issue 109553005: Compile ICU for [P]NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu46
Patch Set: Created 7 years 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
« no previous file with comments | « patches/platform.patch ('k') | source/common/unicode/pnacl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/pnacl.h.patch
diff --git a/patches/pnacl.h.patch b/patches/pnacl.h.patch
new file mode 100644
index 0000000000000000000000000000000000000000..0d96c0f55efb591cf6c3a3dbf74201dc33884308
--- /dev/null
+++ b/patches/pnacl.h.patch
@@ -0,0 +1,14 @@
+--- a/source/common/unicode/pnacl.h
++++ b/source/common/unicode/pnacl.h
+@@ -282,8 +282,10 @@
+ #if 1
+ #define U_TZSET tzset
+ #endif
+-#if 1
++#if defined(__GLIBC__)
+ #define U_TIMEZONE __timezone
++#else
++#define U_TIMEZONE _timezone
+ #endif
+ #if 1
+ #define U_TZNAME tzname
« no previous file with comments | « patches/platform.patch ('k') | source/common/unicode/pnacl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698