summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordfilimon@google.com <dfilimon@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-09-15 19:48:41 +0000
committerdfilimon@google.com <dfilimon@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-09-15 19:48:41 +0000
commitba91573e890c0871c6949e480a365bc85d408e77 (patch)
tree6fe4af31dfaa8035be88eb1f02cc290360ad35de
parent089c48270e5b0ee5f437a0b81e25c46fb93a6d93 (diff)
downloadsrc-ba91573e890c0871c6949e480a365bc85d408e77.tar.gz
Added port/type.h before other headers to fix the Visual Studio redefintion issue.
git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@81 672e30a5-4c29-85ac-ac6d-611c735e0a51
-rw-r--r--sfntly/table/core/cmap_table.cc1
-rw-r--r--sfntly/table/core/cmap_table.h2
-rw-r--r--test/autogenerated/cmap_basic_test.cc2
3 files changed, 5 insertions, 0 deletions
diff --git a/sfntly/table/core/cmap_table.cc b/sfntly/table/core/cmap_table.cc
index 29bf3fe..0f907b7 100644
--- a/sfntly/table/core/cmap_table.cc
+++ b/sfntly/table/core/cmap_table.cc
@@ -15,6 +15,7 @@
*/
#include "sfntly/table/core/cmap_table.h"
+#include "sfntly/port/type.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/sfntly/table/core/cmap_table.h b/sfntly/table/core/cmap_table.h
index 6287642..8ff9706 100644
--- a/sfntly/table/core/cmap_table.h
+++ b/sfntly/table/core/cmap_table.h
@@ -17,6 +17,8 @@
#ifndef SFNTLY_CPP_SRC_SFNTLY_TABLE_CORE_CMAP_TABLE_H_
#define SFNTLY_CPP_SRC_SFNTLY_TABLE_CORE_CMAP_TABLE_H_
+#include "sfntly/port/type.h"
+
#include <vector>
#include <map>
diff --git a/test/autogenerated/cmap_basic_test.cc b/test/autogenerated/cmap_basic_test.cc
index e12aedd..119906d 100644
--- a/test/autogenerated/cmap_basic_test.cc
+++ b/test/autogenerated/cmap_basic_test.cc
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#include "sfntly/port/type.h"
+
#include <assert.h>
#include <stdio.h>
#include <unicode/ucnv.h>