Skip to content

Commit

Permalink
Update WipeTowerPrusaMM.cpp (slic3r#464)
Browse files Browse the repository at this point in the history
Resolves compile error on Win XP / Win 7 with native toolchain MinGW32-w64 on perl 5.26 or Citrusperl 5.24.
  • Loading branch information
redPrint7 authored and bubnikv committed Aug 14, 2017
1 parent a2b876e commit fdc7036
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp
Expand Up @@ -10,6 +10,13 @@
#include <strings.h>
#endif /* __linux */

/*-------ADD THIS ----------------*/
/*----- Error --> strcasecmp was not declared ----*/
#ifdef __GNUC__
#include <strings.h>
#endif
/*-------ADD THIS ----------------*/

#ifdef _MSC_VER
#define strcasecmp _stricmp
#endif
Expand Down

0 comments on commit fdc7036

Please sign in to comment.