summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-11-30 01:43:19 +0000
committerarthurhsu@google.com <arthurhsu@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-11-30 01:43:19 +0000
commit5e3195449b63aecca4457041b2d0dd751f2da6b4 (patch)
tree920a2419a98d17bf7512961f0951bd4461a4d8ed
parent37447a81dec26fe9d509a0829e34217f26aaab1b (diff)
downloadsrc-5e3195449b63aecca4457041b2d0dd751f2da6b4.tar.gz
Fix clang compilation errors in Chromium.
git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@111 672e30a5-4c29-85ac-ac6d-611c735e0a51
-rw-r--r--sfntly/table/core/name_table.h4
-rw-r--r--test/subsetter_impl.cc3
2 files changed, 3 insertions, 4 deletions
diff --git a/sfntly/table/core/name_table.h b/sfntly/table/core/name_table.h
index 9c007a1..01d3b29 100644
--- a/sfntly/table/core/name_table.h
+++ b/sfntly/table/core/name_table.h
@@ -29,10 +29,6 @@
#include "sfntly/port/java_iterator.h"
#include "sfntly/table/subtable_container_table.h"
-#if defined U_USING_ICU_NAMESPACE
- U_NAMESPACE_USE
-#endif
-
namespace sfntly {
// The following code implements the name table defined in TTF/OTF spec, which
diff --git a/test/subsetter_impl.cc b/test/subsetter_impl.cc
index 8b64429..09cabc4 100644
--- a/test/subsetter_impl.cc
+++ b/test/subsetter_impl.cc
@@ -39,6 +39,9 @@
#include "sfntly/port/memory_input_stream.h"
#include "sfntly/port/memory_output_stream.h"
+#if defined U_USING_ICU_NAMESPACE
+ U_NAMESPACE_USE
+#endif
namespace {