diff options
Diffstat (limited to 'generic/tkPort.h')
-rw-r--r-- | generic/tkPort.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/generic/tkPort.h b/generic/tkPort.h index 00c49fd..d6db449 100644 --- a/generic/tkPort.h +++ b/generic/tkPort.h @@ -14,16 +14,13 @@ #ifndef _TKPORT #define _TKPORT -#ifndef _TK -#include "tk.h" +#if defined(_WIN32) +# include "tkWinPort.h" #endif -#ifndef _TCL -#include "tcl.h" +#ifndef _TK +# include "tk.h" #endif - -#if defined(__WIN32__) || defined(_WIN32) -# include "tkWinPort.h" -#else +#if !defined(_WIN32) # if defined(MAC_OSX_TK) # include "tkMacOSXPort.h" # else |