[pragma] Silence MSVC unknown-pragma warning

This commit is contained in:
Behdad Esfahbod 2019-01-28 14:09:45 -05:00
parent 60022ecced
commit 51b584880e
1 changed files with 3 additions and 0 deletions

View File

@ -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:
*