| Index: third_party/harfbuzz-ng/src/hb-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-private.hh b/third_party/harfbuzz-ng/src/hb-private.hh
|
| index 67e697ab910463ae6ba960b6b9fb288217fa68eb..7afb25803fb0fa69c315279c51d05870dd22c42a 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-private.hh
|
| @@ -179,6 +179,9 @@ static int errno = 0; /* Use something better? */
|
| # endif
|
| # if defined(_MSC_VER) && _MSC_VER < 1900
|
| # define snprintf _snprintf
|
| +# elif defined(_MSC_VER) && _MSC_VER >= 1900
|
| +# /* Covers VC++ Error for strdup being a deprecated POSIX name and to instead use _strdup instead */
|
| +# define strdup _strdup
|
| # endif
|
| #endif
|
|
|
| @@ -1002,5 +1005,7 @@ hb_options (void)
|
| return _hb_options.opts;
|
| }
|
|
|
| +/* Size signifying variable-sized array */
|
| +#define VAR 1
|
|
|
| #endif /* HB_PRIVATE_HH */
|
|
|