Closed qi7chen closed 8 years ago
Tested under Visual C++ 2012, Visual C++ 2013 with CMake 3.0
Thanks! I have merged these changes.
Note that isnan
is not supported yet under Visual C++ lower than 2013. Some of our windows servers are still running with it.
Still vote for #1 .
1,
inline
keyword is only available in C++, define to__inline
instead. 2, Visual C++ doesn't supplysnprintf
andstrncasecmp
, define to_snprintf
and_strnicmp
instead. 3, define_CRT_SECURE_NO_WARNINGS
to disable deprecation warnings.