Fix building on Visual Studio 2015
Closes #136. Thanks to Pelayo Méndez.
This commit is contained in:
parent
caa394d0fe
commit
6a9382d864
@ -21,6 +21,7 @@ Clients:
|
||||
|
||||
Build:
|
||||
- Fix string quoting in CMakeLists.txt. Closes #4.
|
||||
- Fix building on Visual Studio 2015. Closes #136.
|
||||
|
||||
|
||||
1.4.8 - 20160214
|
||||
|
5
config.h
5
config.h
@ -11,8 +11,11 @@
|
||||
*
|
||||
* Generally for Windows native support.
|
||||
* ============================================================ */
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
# define snprintf sprintf_s
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define snprintf sprintf_s
|
||||
# ifndef strcasecmp
|
||||
# define strcasecmp strcmpi
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user