зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1119776, Part 9: Avoid defining snprintf when MSVC provides it (harfbuzz), r=behdad
--HG-- extra : rebase_source : fe06a72a4a3b7ce51edabdb9fbefce1d3d2011e3
This commit is contained in:
Родитель
0c89cfc24d
Коммит
c16270c8f3
|
@ -94,10 +94,8 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
/* Windows CE only has _strdup, while rest of Windows has both. */
|
||||
#define strdup _strdup
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
|
Загрузка…
Ссылка в новой задаче