From 2635b946073502bbf40071c269c2daab2d562f05 Mon Sep 17 00:00:00 2001 From: Andreas Holzammer Date: Tue, 12 Aug 2014 14:42:06 +0200 Subject: Fix compile for harfbuzz-ng for wince CRITICAL_SECTION has different members, so adjust that strdup is only there as _strdup so use that There is no MemoryBarrier() There is no environment so dont use getenv There is no locale so dont use it There is no errno so just fake it Change-Id: Ia7197c4f0df50513078c906ed503aec33ee42b82 Reviewed-by: Eskil Abrahamsen Blomfeldt Reviewed-by: Konstantin Ritt --- src/3rdparty/harfbuzz-ng/src/hb-common.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/3rdparty/harfbuzz-ng/src/hb-common.cc') diff --git a/src/3rdparty/harfbuzz-ng/src/hb-common.cc b/src/3rdparty/harfbuzz-ng/src/hb-common.cc index a089e52cd2..416d082a6b 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-common.cc +++ b/src/3rdparty/harfbuzz-ng/src/hb-common.cc @@ -33,6 +33,10 @@ #include +#ifdef _WIN32_WCE +#define strdup(x) _strdup(x) +#endif + /* hb_options_t */ -- cgit v1.2.3