Update WipeTowerPrusaMM.cpp (#464)
Resolves compile error on Win XP / Win 7 with native toolchain MinGW32-w64 on perl 5.26 or Citrusperl 5.24.
This commit is contained in:
parent
a2b876e261
commit
fdc7036fe3
@ -10,6 +10,13 @@
|
|||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#endif /* __linux */
|
#endif /* __linux */
|
||||||
|
|
||||||
|
/*-------ADD THIS ----------------*/
|
||||||
|
/*----- Error --> strcasecmp was not declared ----*/
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#include <strings.h>
|
||||||
|
#endif
|
||||||
|
/*-------ADD THIS ----------------*/
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define strcasecmp _stricmp
|
#define strcasecmp _stricmp
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user