summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDl.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tclLoadDl.c')
-rw-r--r--unix/tclLoadDl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/tclLoadDl.c b/unix/tclLoadDl.c
index 2a868d8..3a72965 100644
--- a/unix/tclLoadDl.c
+++ b/unix/tclLoadDl.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadDl.c,v 1.3 1999/04/16 00:48:04 stanton Exp $
+ * RCS: @(#) $Id: tclLoadDl.c,v 1.3.22.1 2001/11/28 17:58:37 andreas_kupries Exp $
*/
#include "tclInt.h"
@@ -56,6 +56,7 @@
*---------------------------------------------------------------------------
*/
+#ifndef TCL_NO_LOADCMD
int
TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr)
Tcl_Interp *interp; /* Used for error reporting. */
@@ -120,6 +121,7 @@ TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr)
return TCL_OK;
}
+#endif
/*
*----------------------------------------------------------------------
@@ -139,6 +141,7 @@ TclpLoadFile(interp, fileName, sym1, sym2, proc1Ptr, proc2Ptr, clientDataPtr)
*----------------------------------------------------------------------
*/
+#ifndef TCL_NO_LOADCMD
void
TclpUnloadFile(clientData)
ClientData clientData; /* ClientData returned by a previous call
@@ -151,6 +154,7 @@ TclpUnloadFile(clientData)
handle = (VOID *) clientData;
dlclose(handle);
}
+#endif
/*
*----------------------------------------------------------------------