summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-10 14:13:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-10 14:13:51 (GMT)
commit43a91548b31101b95bc2b2e29ada872bb3d9590e (patch)
tree7ddd3ac3bd4d9125f2a44ce67d4d5bb7a4540013 /generic/tclOO.h
parentb01e1efe400bfde2a54d1fcc2e40b804b8b1b3ea (diff)
downloadtcl-43a91548b31101b95bc2b2e29ada872bb3d9590e.zip
tcl-43a91548b31101b95bc2b2e29ada872bb3d9590e.tar.gz
tcl-43a91548b31101b95bc2b2e29ada872bb3d9590e.tar.bz2
Fix for bug [f51efe99a7]: MinGW build fails on current checkin. And a new test-case which makes the problem visible on UNIX as well.
Diffstat (limited to 'generic/tclOO.h')
-rw-r--r--generic/tclOO.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclOO.h b/generic/tclOO.h
index 41be168..a6e8a22 100644
--- a/generic/tclOO.h
+++ b/generic/tclOO.h
@@ -37,13 +37,12 @@
extern "C" {
#endif
-#if (defined(USE_TCLOO_STUBS) || defined(USE_TCL_STUBS))
extern const char *TclOOInitializeStubs(
Tcl_Interp *, const char *version);
#define Tcl_OOInitStubs(interp) \
TclOOInitializeStubs((interp), TCLOO_VERSION)
-#else
-#define Tcl_OOInitStubs(interp) (TCLOO_PATCHLEVEL)
+#ifndef USE_TCL_STUBS
+# define TclOOInitializeStubs(interp, version) (TCLOO_PATCHLEVEL)
#endif
/*