[pragma] Silence MSVC unknown-pragma warning
This commit is contained in:
parent
60022ecced
commit
51b584880e
|
@ -30,6 +30,9 @@
|
||||||
#define HB_HH
|
#define HB_HH
|
||||||
|
|
||||||
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC
|
#ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC
|
||||||
|
#if defined(_MSC_VER)
|
||||||
|
#pragma warning( disable: 4068 ) /* Unknown pragma */
|
||||||
|
#endif
|
||||||
#if defined(__GNUC__) || defined(__clang__)
|
#if defined(__GNUC__) || defined(__clang__)
|
||||||
/* Rules:
|
/* Rules:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue