Disable deprecation warnings in libass on windows

Originally committed to SVN as r4959.
This commit is contained in:
Thomas Goyne 2010-12-12 00:33:55 +00:00
parent 017c09489b
commit fc9607cbb1
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#ifdef _MSVC #ifdef _MSC_VER
#define CONFIG_FONTCONFIG 1 #define CONFIG_FONTCONFIG 1
#define CONFIG_ICONV 1 #define CONFIG_ICONV 1
@ -7,4 +7,6 @@
#define strtoll(p, e, b) _strtoi64(p, e, b) #define strtoll(p, e, b) _strtoi64(p, e, b)
#define M_PI 3.1415926535897932384626433832795 #define M_PI 3.1415926535897932384626433832795
#pragma warning(disable : 4996)
#endif #endif