Allow test suites to be run on Windows

For a start, they don't even compile with Visual Studio due to strcasecmp
being missing.  Secondly, on Windows Perl scripts aren't executable and have
to be run using the Perl interpreter directly; thankfully CMake is able to
find cygwin Perl straight away without problems.
This commit is contained in:
Nicholas Wilson 2015-11-14 13:09:01 +00:00 committed by Simon Butcher
parent c6dab2b029
commit b19bac4d82
2 changed files with 8 additions and 1 deletions

View file

@ -28,6 +28,8 @@
#ifdef _MSC_VER
#include <basetsd.h>
typedef UINT32 uint32_t;
#define strncasecmp _strnicmp
#define strcasecmp _stricmp
#else
#include <stdint.h>
#endif