"C3861: 'snprintf': identifier not found" with VS2013 and prior.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-12-20 22:55:40 +02:00
parent 2d61b87256
commit 049a72ff20

View File

@ -33,6 +33,10 @@
#if (_MSC_VER > 1000) #if (_MSC_VER > 1000)
#pragma once #pragma once
#endif // _MSC_VER > 1000 #endif // _MSC_VER > 1000
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
#endif // Q_CC_MSVC #endif // Q_CC_MSVC
#include <fstream> #include <fstream>