Skip to content

Commit

Permalink
Merge commit '25a08f450de59e5acdfcb0750aa222e5641e4cfb' as 'third_par…
Browse files Browse the repository at this point in the history
…ty/ots'
  • Loading branch information
briantting authored and dahlstrom-g committed Sep 11, 2023
2 parents 7583e2c + 25a08f4 commit d8ae7c1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion third_party/ots/include/opentype-sanitiser.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef OPENTYPE_SANITISER_H_
#define OPENTYPE_SANITISER_H_

#include <cstring>
#define MEMCPY_OPENTYPE_SANITISER std::memcpy

#if defined(STARBOARD)
Expand Down Expand Up @@ -42,6 +41,7 @@ typedef unsigned __int64 uint64_t;
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstring>

#define OTS_TAG(c1,c2,c3,c4) ((uint32_t)((((uint8_t)(c1))<<24)|(((uint8_t)(c2))<<16)|(((uint8_t)(c3))<<8)|((uint8_t)(c4))))
#define OTS_UNTAG(tag) ((char)((tag)>>24)), ((char)((tag)>>16)), ((char)((tag)>>8)), ((char)(tag))
Expand Down
1 change: 0 additions & 1 deletion third_party/ots/src/cmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <utility>
#include <vector>

#include <cstring>
#define MEMCPY_CMAP std::memcpy

#if defined(STARBOARD)
Expand Down
2 changes: 1 addition & 1 deletion third_party/ots/src/ots.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <cstdarg>
#include <cstddef>

#include <cstring>
#define MEMCPY_OTS std::memcpy

#if defined(STARBOARD)
Expand Down Expand Up @@ -41,6 +40,7 @@ typedef unsigned __int64 uint64_t;

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <limits>
#include <map>

Expand Down
2 changes: 0 additions & 2 deletions third_party/ots/src/post.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

#include "post.h"

#include <string.h>

#include "maxp.h"

// post - PostScript
Expand Down

0 comments on commit d8ae7c1

Please sign in to comment.