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:
parent
713f99ff61
commit
89cbd4d953
|
@ -132,6 +132,7 @@ static int errno = 0; /* Use something better? */
|
||||||
# endif
|
# endif
|
||||||
# if defined(_MSC_VER) && _MSC_VER < 1900
|
# if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
# define snprintf _snprintf
|
# define snprintf _snprintf
|
||||||
|
# pragma execution_character_set("utf-8")
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue