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:
|
Build:
|
||||||
- Fix string quoting in CMakeLists.txt. Closes #4.
|
- Fix string quoting in CMakeLists.txt. Closes #4.
|
||||||
|
- Fix building on Visual Studio 2015. Closes #136.
|
||||||
|
|
||||||
|
|
||||||
1.4.8 - 20160214
|
1.4.8 - 20160214
|
||||||
|
5
config.h
5
config.h
@ -11,8 +11,11 @@
|
|||||||
*
|
*
|
||||||
* Generally for Windows native support.
|
* Generally for Windows native support.
|
||||||
* ============================================================ */
|
* ============================================================ */
|
||||||
#ifdef WIN32
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
# define snprintf sprintf_s
|
# define snprintf sprintf_s
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
# ifndef strcasecmp
|
# ifndef strcasecmp
|
||||||
# define strcasecmp strcmpi
|
# define strcasecmp strcmpi
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user