mirror of https://github.com/swig/swig
Cygwin test-suite fix for tcl 8.5 on Cygwin
This commit is contained in:
parent
c4e29fb686
commit
cb4a23b2df
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue