summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkDecls.h')
-rw-r--r--generic/tkDecls.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/tkDecls.h b/generic/tkDecls.h
index c0e0ac5..250a3e0 100644
--- a/generic/tkDecls.h
+++ b/generic/tkDecls.h
@@ -8,7 +8,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkDecls.h,v 1.32 2008/04/02 21:32:32 das Exp $
+ * RCS: @(#) $Id: tkDecls.h,v 1.33 2008/04/08 03:28:04 kennykb Exp $
*/
#ifndef _TKDECLS
@@ -1983,7 +1983,12 @@ typedef struct TkStubs {
} TkStubs;
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)
-EXTERN CONST TkStubs *tkStubsPtr;
+/*
+ * The following declaration has to be 'extern', not EXTERN. The
+ * stubs pointer is always static-linked, and never exported from
+ * a DLL.
+ */
+extern const TkStubs *tkStubsPtr;
#endif /* defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS) */
#if defined(USE_TK_STUBS) && !defined(USE_TK_STUB_PROCS)