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:
60022ec
)
[pragma] Silence MSVC unknown-pragma warning
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 28 Jan 2019 19:09:45 +0000
(14:09 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 28 Jan 2019 19:09:45 +0000
(14:09 -0500)
src/hb.hh
patch
|
blob
|
history
diff --git
a/src/hb.hh
b/src/hb.hh
index
860236b
..
5b66ba8
100644
(file)
--- a/
src/hb.hh
+++ b/
src/hb.hh
@@
-30,6
+30,9
@@
#define HB_HH
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC
+#if defined(_MSC_VER)
+#pragma warning( disable: 4068 ) /* Unknown pragma */
+#endif
#if defined(__GNUC__) || defined(__clang__)
/* Rules:
*