[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Apr 13 12:27:31 PDT 2015


 src/hb-private.hh |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 89cbd4d9533011fb5487caa99a0cd58923e7cf59
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Apr 13 12:27:08 2015 -0700

    Add MSVC pragma for UTF-8 source code
    
    Not sure we have any right now; motivated by this:
    https://bugzilla.gnome.org/show_bug.cgi?id=747772

diff --git a/src/hb-private.hh b/src/hb-private.hh
index 06d7f22..0caab9e 100644
--- a/src/hb-private.hh
+++ b/src/hb-private.hh
@@ -132,6 +132,7 @@ static int errno = 0; /* Use something better? */
 #  endif
 #  if defined(_MSC_VER) && _MSC_VER < 1900
 #    define snprintf _snprintf
+#    pragma execution_character_set("utf-8")
 #  endif
 #endif
 


More information about the HarfBuzz mailing list