aboutsummaryrefslogtreecommitdiff
blob: e36e6c217d19900ec6985c16a266787293aa4a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- togl/togl.cpp.orig	2008-05-19 20:36:06.000000000 +0100
+++ togl/togl.cpp	2008-05-19 20:40:30.000000000 +0100
@@ -138,14 +138,14 @@
 #  include "tkInt8.4p3.h"
 #elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==4
 #  include "tkInt8.4p4.h"
-#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==6
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL>=6
 #  include "tkInt8.4p6.h"
 #else
-   Sorry, you will have to edit togl.c to include the right tkInt.h file
+   #error Sorry, you will have to edit togl.c to include the right tkInt.h file
 #endif
 #elif defined(WIN32)
 #if TK_MAJOR_VERSION<8
-   Sorry Windows version requires Tcl/Tk ver 8.0 or higher.
+   #error Sorry Windows version requires Tcl/Tk ver 8.0 or higher.
 #endif
 #include "tkInt.h"
 #include "tkWinInt.h"