Fix MSVC2015 build and add VC project

PUBLISHED_FROM=d071ecd0bdcc871cdd18a65c1ebb8b546ff61941
This commit is contained in:
Alexander Alashkin authored and rojer committed 2015-10-16 10:31:23 +01:00
1 parent 3fbfa33b9a
commit 7f2e42a06d
2 files changed
+165

No files matched your search

+2
View File
@@ -68,6 +68,7 @@
#endif
/*
* MSVC++ 14.0 _MSC_VER == 1900 (Visual Studio 2015)
* MSVC++ 12.0 _MSC_VER == 1800 (Visual Studio 2013)
* MSVC++ 11.0 _MSC_VER == 1700 (Visual Studio 2012)
* MSVC++ 10.0 _MSC_VER == 1600 (Visual Studio 2010)
@@ -129,6 +130,7 @@
#define __func__ __FILE__ ":" STR(__LINE__)
#endif
#define snprintf _snprintf
#define fileno _fileno
#define vsnprintf _vsnprintf
#define sleep(x) Sleep((x) *1000)
#define to64(x) _atoi64(x)