From 5069062d0a9342bb716eebf3ddc1efad91924caa Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Tue, 26 Apr 2016 12:02:26 +0400 Subject: [PATCH] Unbreak build on Windows CE 0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using vsnprintf(), which is not defined on Windows CE --- src/hb-private.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-private.hh b/src/hb-private.hh index 179e4e9f7..d58a695c4 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -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"