- Fix build with tk 8.4.14

This commit is contained in:
Pav Lucistnik 2007-01-25 23:55:45 +00:00
parent 134fc3cad5
commit 4f4ca3006e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183312

View file

@ -1,15 +1,12 @@
--- togl/togl.cpp.orig Wed Sep 29 19:48:06 2004
+++ togl/togl.cpp Tue Jul 4 23:05:23 2006
@@ -140,12 +140,18 @@
+++ togl/togl.cpp Fri Jan 26 00:30:29 2007
@@ -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
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL>=6
# include "tkInt8.4p6.h"
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==7
+# include "tkInt8.4p6.h"
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==11
+# include "tkInt8.4p6.h"
+#elif TK_MAJOR_VERSION==8 && TK_MINOR_VERSION==4 && TK_RELEASE_SERIAL==13
+# 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