Unbreak build on Windows CE

0475ef2f97 broke the build by using
vsnprintf(), which is not defined on Windows CE
This commit is contained in:
Konstantin Ritt 2016-04-26 12:02:26 +04:00
parent 1c625dff22
commit 5069062d0a

View File

@ -169,6 +169,7 @@ extern "C" void hb_free_impl(void *ptr);
# if defined(_WIN32_WCE)
/* Some things not defined on Windows CE. */
# define strdup _strdup
# define vsnprintf _vsnprintf
# define getenv(Name) NULL
# if _WIN32_WCE < 0x800
# define setlocale(Category, Locale) "C"