maybe fix VC2005 warnings
This commit is contained in:
@@ -17,6 +17,10 @@
|
|||||||
/* Fix VC breakage. */
|
/* Fix VC breakage. */
|
||||||
#define PATH_MAX _MAX_PATH
|
#define PATH_MAX _MAX_PATH
|
||||||
|
|
||||||
|
/* Disable false deprecation warnings in VC2005. */
|
||||||
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
|
#define _SCL_SECURE_NO_DEPRECATE
|
||||||
|
|
||||||
#if _MSC_VER < 1300 /* VC6, not VC7 */
|
#if _MSC_VER < 1300 /* VC6, not VC7 */
|
||||||
template<class T>
|
template<class T>
|
||||||
inline const T& max(const T &a, const T &b) { return a < b? b:a; }
|
inline const T& max(const T &a, const T &b) { return a < b? b:a; }
|
||||||
|
|||||||
Reference in New Issue
Block a user