mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-10 16:31:44 +00:00
Fix MSVC2015 build and add VC project
PUBLISHED_FROM=d071ecd0bdcc871cdd18a65c1ebb8b546ff61941
This commit is contained in:
1 parent
3fbfa33b9a
commit
7f2e42a06d
2 files changed
+165
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user