From 26a963b9cb4af3119177f277a2d48a5d537458fb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 10 Aug 2014 18:04:50 -0400 Subject: [PATCH] [wince] Try to fix some stuff on Windows CE Based on errors seen here: http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_03837/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz Fully untested. --- src/hb-private.hh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/hb-private.hh b/src/hb-private.hh index 1b39e5731..e97aab6c5 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -130,6 +130,14 @@ # define STRICT #endif +#ifdef _WIN32_WCE +/* Some things not defined on Windows CE. */ +#define MemoryBarrier() +#define getenv(Name) NULL +#define setlocale(Category, Locale) "C" +static int errno = 0; /* Use something better? */ +#endif + #if HAVE_ATEXIT /* atexit() is only safe to be called from shared libraries on certain * platforms. Whitelist.