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
pull/100/head
Behdad Esfahbod 10 years ago
parent 713f99ff61
commit 89cbd4d953
  1. 1
      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

Loading…
Cancel
Save