fix for msvc7.1

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@454 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
syntheticpp 2006-01-09 07:51:44 +00:00
parent dd83739b20
commit d2372341f3
2 changed files with 16 additions and 4 deletions

View file

@ -17,8 +17,13 @@
#include "../SmallObj/timer.h"
#if defined(_MSC_VER)
#define sprintf sprintf_s
#if _MSC_VER >= 1400
#define sprintf sprintf_s
#define _snprintf _snprintf_s
else
#define sprintf sprintf
#define _snprintf _snprintf
#endif
#endif
using namespace std;