Subject: Turn Tcl_OOInitStubs into a no-op in non-stub-enabled usage.

From: dkf <[email-masked]>
Date: Wed, 2 Oct 2013 10:01:50 +0000

---
 generic/tclOO.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/generic/tclOO.h b/generic/tclOO.h
index 4a6cda7..e5ed10d 100644
--- a/generic/tclOO.h
+++ b/generic/tclOO.h
@@ -37,10 +37,14 @@
 extern "C" {
 #endif
 
+#ifdef USE_TCLOO_STUBS
 extern const char *TclOOInitializeStubs(
 	Tcl_Interp *, const char *version);
 #define Tcl_OOInitStubs(interp) \
     TclOOInitializeStubs((interp), TCLOO_VERSION)
+#else
+#define Tcl_OOInitStubs(interp) (TCL_OK)
+#endif
 
 /*
  * These are opaque types.
-- 
cgit v0.12