Unbreak build on Windows CE
authorKonstantin Ritt <ritt.ks@gmail.com>
Tue, 26 Apr 2016 08:02:26 +0000 (12:02 +0400)
committerKonstantin Ritt <ritt.ks@gmail.com>
Tue, 26 Apr 2016 08:02:26 +0000 (12:02 +0400)
0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using
vsnprintf(), which is not defined on Windows CE

src/hb-private.hh

index 179e4e9..d58a695 100644 (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"