diff options
Diffstat (limited to 'src/3rdparty')
18 files changed, 34 insertions, 5 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-private.hh b/src/3rdparty/harfbuzz-ng/src/hb-private.hh index 06b24a80f8..06d7f228a7 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-private.hh +++ b/src/3rdparty/harfbuzz-ng/src/hb-private.hh @@ -121,16 +121,17 @@ # if defined(_WIN32_WCE) /* Some things not defined on Windows CE. */ +# define strdup _strdup # define getenv(Name) NULL -# define setlocale(Category, Locale) "C" +# if _WIN32_WCE < 0x800 +# define setlocale(Category, Locale) "C" static int errno = 0; /* Use something better? */ +# endif # elif defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP) # define getenv(Name) NULL # endif -# if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER) +# if defined(_MSC_VER) && _MSC_VER < 1900 # define snprintf _snprintf - /* Windows CE only has _strdup, while rest of Windows has both. */ -# define strdup _strdup # endif #endif diff --git a/src/3rdparty/sha3/KeccakF-1600-32-rvk.macros b/src/3rdparty/sha3/KeccakF-1600-32-rvk.macros index c0c9029873..c0c9029873 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-32-rvk.macros +++ b/src/3rdparty/sha3/KeccakF-1600-32-rvk.macros diff --git a/src/3rdparty/sha3/KeccakF-1600-32.macros b/src/3rdparty/sha3/KeccakF-1600-32.macros index 9ade600067..9ade600067 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-32.macros +++ b/src/3rdparty/sha3/KeccakF-1600-32.macros diff --git a/src/3rdparty/sha3/KeccakF-1600-64.macros b/src/3rdparty/sha3/KeccakF-1600-64.macros index 0c20bca40f..0c20bca40f 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-64.macros +++ b/src/3rdparty/sha3/KeccakF-1600-64.macros diff --git a/src/3rdparty/sha3/KeccakF-1600-int-set.h b/src/3rdparty/sha3/KeccakF-1600-int-set.h index 0ed1d802e3..0ed1d802e3 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-int-set.h +++ b/src/3rdparty/sha3/KeccakF-1600-int-set.h diff --git a/src/3rdparty/sha3/KeccakF-1600-interface.h b/src/3rdparty/sha3/KeccakF-1600-interface.h index ce2710eeb2..ce2710eeb2 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-interface.h +++ b/src/3rdparty/sha3/KeccakF-1600-interface.h diff --git a/src/3rdparty/sha3/KeccakF-1600-opt32-settings.h b/src/3rdparty/sha3/KeccakF-1600-opt32-settings.h index b135918ca9..b135918ca9 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-opt32-settings.h +++ b/src/3rdparty/sha3/KeccakF-1600-opt32-settings.h diff --git a/src/3rdparty/sha3/KeccakF-1600-opt32.c b/src/3rdparty/sha3/KeccakF-1600-opt32.c index 4e32dca9cb..4e32dca9cb 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-opt32.c +++ b/src/3rdparty/sha3/KeccakF-1600-opt32.c diff --git a/src/3rdparty/sha3/KeccakF-1600-opt64-settings.h b/src/3rdparty/sha3/KeccakF-1600-opt64-settings.h index 8f16ada636..8f16ada636 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-opt64-settings.h +++ b/src/3rdparty/sha3/KeccakF-1600-opt64-settings.h diff --git a/src/3rdparty/sha3/KeccakF-1600-unrolling.macros b/src/3rdparty/sha3/KeccakF-1600-unrolling.macros index 83c694ca48..83c694ca48 100755..100644 --- a/src/3rdparty/sha3/KeccakF-1600-unrolling.macros +++ b/src/3rdparty/sha3/KeccakF-1600-unrolling.macros diff --git a/src/3rdparty/sha3/KeccakNISTInterface.c b/src/3rdparty/sha3/KeccakNISTInterface.c index e530a11db5..e530a11db5 100755..100644 --- a/src/3rdparty/sha3/KeccakNISTInterface.c +++ b/src/3rdparty/sha3/KeccakNISTInterface.c diff --git a/src/3rdparty/sha3/KeccakNISTInterface.h b/src/3rdparty/sha3/KeccakNISTInterface.h index cd85f24aa7..cd85f24aa7 100755..100644 --- a/src/3rdparty/sha3/KeccakNISTInterface.h +++ b/src/3rdparty/sha3/KeccakNISTInterface.h diff --git a/src/3rdparty/sha3/KeccakSponge.c b/src/3rdparty/sha3/KeccakSponge.c index 6f3da95dbb..6f3da95dbb 100755..100644 --- a/src/3rdparty/sha3/KeccakSponge.c +++ b/src/3rdparty/sha3/KeccakSponge.c diff --git a/src/3rdparty/sha3/KeccakSponge.h b/src/3rdparty/sha3/KeccakSponge.h index 8bb11a8a1d..8bb11a8a1d 100755..100644 --- a/src/3rdparty/sha3/KeccakSponge.h +++ b/src/3rdparty/sha3/KeccakSponge.h diff --git a/src/3rdparty/sha3/brg_endian.h b/src/3rdparty/sha3/brg_endian.h index 7226eb3bec..7226eb3bec 100755..100644 --- a/src/3rdparty/sha3/brg_endian.h +++ b/src/3rdparty/sha3/brg_endian.h diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c index ff78701615..06f6d154f1 100644 --- a/src/3rdparty/sqlite/sqlite3.c +++ b/src/3rdparty/sqlite/sqlite3.c @@ -35209,6 +35209,7 @@ static void winLogIoerr(int nRetry, int lineno){ ** create a substitute. */ /* #include <time.h> */ +# if _WIN32_WCE < 0x800 struct tm *__cdecl localtime(const time_t *t) { static struct tm y; @@ -35230,6 +35231,7 @@ struct tm *__cdecl localtime(const time_t *t) y.tm_sec = pTm.wSecond; return &y; } +# endif #endif #define HANDLE_TO_WINFILE(a) (winFile*)&((char*)a)[-(int)offsetof(winFile,h)] diff --git a/src/3rdparty/zlib/0001-Fix-WEC2013-build-of-zlib.patch b/src/3rdparty/zlib/0001-Fix-WEC2013-build-of-zlib.patch new file mode 100644 index 0000000000..ef6fb33eed --- /dev/null +++ b/src/3rdparty/zlib/0001-Fix-WEC2013-build-of-zlib.patch @@ -0,0 +1,26 @@ +From f2652cfd83f34ec3e70a936e5ea9f8623b66bd95 Mon Sep 17 00:00:00 2001 +From: Bjoern Breitmeyer <bjoern.breitmeyer@kdab.com> +Date: Fri, 27 Mar 2015 15:46:59 +0100 +Subject: [PATCH] Fix WEC2013 build of zlib. + +Change-Id: I4d1908f1175ed39e2df8717fb0b5a17befe88744 +--- + src/3rdparty/zlib/zutil.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h +index 8e535ac..4d367a9 100644 +--- a/src/3rdparty/zlib/zutil.h ++++ b/src/3rdparty/zlib/zutil.h +@@ -143,7 +143,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ + #endif + + #if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX +-# if defined(_WIN32_WCE) ++# if defined(_WIN32_WCE) && _WIN32_WCE < 0x800 + # define fdopen(fd,mode) NULL /* No fdopen() */ + # ifndef _PTRDIFF_T_DEFINED + typedef int ptrdiff_t; +-- +1.8.1.msysgit.1 + diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h index 8e535acf40..4d367a92db 100644 --- a/src/3rdparty/zlib/zutil.h +++ b/src/3rdparty/zlib/zutil.h @@ -143,7 +143,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ #endif #if (defined(_MSC_VER) && (_MSC_VER > 600)) && !defined __INTERIX -# if defined(_WIN32_WCE) +# if defined(_WIN32_WCE) && _WIN32_WCE < 0x800 # define fdopen(fd,mode) NULL /* No fdopen() */ # ifndef _PTRDIFF_T_DEFINED typedef int ptrdiff_t; |