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:
redPrint7 2017-08-14 12:54:19 +02:00 committed by bubnikv
parent a2b876e261
commit fdc7036fe3

View File

@ -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