projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713f99f
)
Add MSVC pragma for UTF-8 source code
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 13 Apr 2015 19:27:08 +0000
(12:27 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 13 Apr 2015 19:27:08 +0000
(12:27 -0700)
Not sure we have any right now; motivated by this:
https://bugzilla.gnome.org/show_bug.cgi?id=747772
src/hb-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-private.hh
b/src/hb-private.hh
index
06d7f22
..
0caab9e
100644
(file)
--- 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