提交 89cbd4d9 编写于 作者: B Behdad Esfahbod

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
上级 713f99ff
...@@ -132,6 +132,7 @@ static int errno = 0; /* Use something better? */ ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册