mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Bug 1119776, Part 9: Avoid defining snprintf when MSVC provides it (harfbuzz), r=behdad
--HG-- extra : rebase_source : fe06a72a4a3b7ce51edabdb9fbefce1d3d2011e3
This commit is contained in:
parent
0c89cfc24d
commit
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user