diff options
author | nijtmans <nijtmans> | 2010-09-28 10:42:05 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-09-28 10:42:05 (GMT) |
commit | 9890fd478c478c32b807fbfb8623b32dab09f78a (patch) | |
tree | 59a466ed3e1b14b78e446aa8bfabec2143bddf4d /generic/tkStubInit.c | |
parent | a73743e84cd1b85edd6c2aad2e842963297f2753 (diff) | |
download | tk-9890fd478c478c32b807fbfb8623b32dab09f78a.zip tk-9890fd478c478c32b807fbfb8623b32dab09f78a.tar.gz tk-9890fd478c478c32b807fbfb8623b32dab09f78a.tar.bz2 |
Add explicit scspec "EXTERN", as in Tcl
Don't let Tk_MainEx macro disturb compilation
Diffstat (limited to 'generic/tkStubInit.c')
-rw-r--r-- | generic/tkStubInit.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index 0bf6634..7ba1353 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -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: tkStubInit.c,v 1.76 2010/08/21 16:35:34 nijtmans Exp $ + * RCS: @(#) $Id: tkStubInit.c,v 1.77 2010/09/28 10:42:05 nijtmans Exp $ */ #include "tkInt.h" @@ -40,6 +40,12 @@ MODULE_SCOPE const TkStubs tkStubs; +/* + * Remove macro that might interfere with the definition below. + */ + +#undef Tk_MainEx + /* !BEGIN!: Do not edit below this line. */ static const TkIntStubs tkIntStubs = { |