commit | 26a963b9cb4af3119177f277a2d48a5d537458fb | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Sun Aug 10 18:04:50 2014 -0400 |
committer | Behdad Esfahbod <[email protected]> | Sun Aug 10 18:05:24 2014 -0400 |
tree | 5c019a712900b555e30c871a815fce30b0bc2a60 | |
parent | 92aeee3f040c2c32cbf70b27bd6954535388c870 [diff] |
[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.
diff --git a/src/hb-private.hh b/src/hb-private.hh index 1b39e57..e97aab6 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.