Cygwin test-suite fix for tcl 8.5 on Cygwin
This commit is contained in:
parent
c4e29fb686
commit
cb4a23b2df
1 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
#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>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
// Use equivalent types for non-windows systems
|
// Use equivalent types for non-windows systems
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue