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
This commit is contained in:
Behdad Esfahbod 2015-04-13 12:27:08 -07:00
parent 713f99ff61
commit 89cbd4d953
1 changed files with 1 additions and 0 deletions

View File

@ -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