fixed compilation for vs2008

This commit is contained in:
Anatoly Baksheev
2013-11-17 14:03:38 +04:00
parent d8600d3d13
commit e154bce259
3 changed files with 11 additions and 6 deletions

View File

@@ -43,9 +43,13 @@
#include "precomp.hpp"
#include <fstream>
#ifndef INT32_MAX
#define __STDC_LIMIT_MACROS
#include <stdint.h>
#if defined _MSC_VER && _MSC_VER == 1500
typedef int int_fast32_t;
#else
#ifndef INT32_MAX
#define __STDC_LIMIT_MACROS
#include <stdint.h>
#endif
#endif
using namespace std;