Cygwin test-suite fix for tcl 8.5 on Cygwin

This commit is contained in:
William S Fulton 2013-09-14 15:52:42 -07:00
parent c4e29fb686
commit cb4a23b2df
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@
%{
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
// Fix Tcl.h and Windows.h cat and mouse over definition of VOID
#if defined(_TCL) && defined(__CYGWIN__)
#ifdef VOID
#undef VOID
#endif
#endif
#include <windows.h>
#else
// Use equivalent types for non-windows systems