diff options
-rw-r--r-- | generic/tkIntDecls.h | 6 | ||||
-rw-r--r-- | generic/tkStubInit.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/generic/tkIntDecls.h b/generic/tkIntDecls.h index cb4379c..51ab978 100644 --- a/generic/tkIntDecls.h +++ b/generic/tkIntDecls.h @@ -693,7 +693,9 @@ typedef struct TkIntStubs { void (*reserved121)(void); #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 void (*reserved121)(void); /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ Pixmap (*tkpCreateNativeBitmap) (Display *display, const void *source); /* 121 */ #endif /* AQUA */ #if !(defined(_WIN32) || defined(MAC_OSX_TK)) /* X11 */ @@ -703,7 +705,9 @@ typedef struct TkIntStubs { void (*reserved122)(void); #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 void (*reserved122)(void); /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ void (*tkpDefineNativeBitmaps) (void); /* 122 */ #endif /* AQUA */ void (*reserved123)(void); @@ -714,7 +718,9 @@ typedef struct TkIntStubs { void (*reserved124)(void); #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 void (*reserved124)(void); /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ Pixmap (*tkpGetNativeAppBitmap) (Display *display, const char *name, int *width, int *height); /* 124 */ #endif /* AQUA */ void (*reserved125)(void); diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 8b12e05..8c37474 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -419,7 +419,9 @@ static const TkIntStubs tkIntStubs = { 0, /* 121 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 0, /* 121 */ /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ TkpCreateNativeBitmap, /* 121 */ #endif /* AQUA */ #if !(defined(_WIN32) || defined(MAC_OSX_TK)) /* X11 */ @@ -429,7 +431,9 @@ static const TkIntStubs tkIntStubs = { 0, /* 122 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 0, /* 122 */ /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ TkpDefineNativeBitmaps, /* 122 */ #endif /* AQUA */ 0, /* 123 */ @@ -440,7 +444,9 @@ static const TkIntStubs tkIntStubs = { 0, /* 124 */ #endif /* WIN */ #ifdef MAC_OSX_TK /* AQUA */ +# if TCL_MAJOR_VERSION < 9 0, /* 124 */ /* Dummy entry for stubs table backwards compatibility */ +# endif /* TCL_MAJOR_VERSION < 9 */ TkpGetNativeAppBitmap, /* 124 */ #endif /* AQUA */ 0, /* 125 */ |