#724: Avoid warning if _MSC_VER is not defined.

This commit is contained in:
Andreas Huggel 2010-08-30 20:24:03 +00:00
parent 717d789c8e
commit e5749ee8b6

View File

@ -243,6 +243,6 @@ typedef int pid_t;
Disable warnings about 'deprecated' standard functions
See, eg. http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=259
*/
#if _MSC_VER >= 1400
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
# pragma warning(disable : 4996 4251)
#endif