Bug 1119776, Part 9: Avoid defining snprintf when MSVC provides it (harfbuzz), r=behdad

--HG--
extra : rebase_source : fe06a72a4a3b7ce51edabdb9fbefce1d3d2011e3
This commit is contained in:
Brian Smith 2015-03-31 09:52:57 -10:00
Родитель 0c89cfc24d
Коммит c16270c8f3
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

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