diff options
author | das <das> | 2001-11-23 01:26:52 (GMT) |
---|---|---|
committer | das <das> | 2001-11-23 01:26:52 (GMT) |
commit | 5bf5a16c3a6e83b4297123ae905297ac723f7f81 (patch) | |
tree | 725fbc934e8cfe62511b965b22c0069a3e157e67 /mac/tclMacLibrary.c | |
parent | 8ddfd6bbdf803f32768cf447560be0af0e97e08b (diff) | |
download | tcl-5bf5a16c3a6e83b4297123ae905297ac723f7f81.zip tcl-5bf5a16c3a6e83b4297123ae905297ac723f7f81.tar.gz tcl-5bf5a16c3a6e83b4297123ae905297ac723f7f81.tar.bz2 |
** upport to 8.4 of mac code changes for 8.3.3 & various new
** changes for 8.4, some already backported to 8.3.4 (patch #435658)
see ChangeLog for details
Diffstat (limited to 'mac/tclMacLibrary.c')
-rw-r--r-- | mac/tclMacLibrary.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mac/tclMacLibrary.c b/mac/tclMacLibrary.c index 989329f..59d4612 100644 --- a/mac/tclMacLibrary.c +++ b/mac/tclMacLibrary.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacLibrary.c,v 1.4 2000/02/10 09:59:10 jingham Exp $ + * RCS: @(#) $Id: tclMacLibrary.c,v 1.5 2001/11/23 01:27:39 das Exp $ */ /* @@ -26,6 +26,15 @@ #include <Strings.h> #include "tclMacInt.h" +#if defined(TCL_REGISTER_LIBRARY) && defined(USE_TCL_STUBS) +#error "Can't use TCL_REGISTER_LIBRARY and USE_TCL_STUBS at the same time!" +/* + * Can't register a library with Tcl when using stubs in the current + * implementation, since Tcl_InitStubs hasn't been called yet + * when OpenLibraryResource is executing. + */ +#endif + /* * These function are not currently defined in any header file. The * only place they should be used is in the Initialization and |