summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-04 01:01:00 (GMT)
committerstanton <stanton>1999-03-04 01:01:00 (GMT)
commit14f3bca0ecc2c5d688088c6c567c28d100b769f7 (patch)
tree8a4905ce027456f51ca7acb1d5072a0d4aaa3ed5
parentb0edcae8f88b7a7b96a1858290ece903d780bc62 (diff)
downloadtcl-14f3bca0ecc2c5d688088c6c567c28d100b769f7.zip
tcl-14f3bca0ecc2c5d688088c6c567c28d100b769f7.tar.gz
tcl-14f3bca0ecc2c5d688088c6c567c28d100b769f7.tar.bz2
* unix/tclUnixSock.c: Added TclHasSockets.
-rw-r--r--unix/tclUnixSock.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/unix/tclUnixSock.c b/unix/tclUnixSock.c
index 7a479b2..de6b9a9 100644
--- a/unix/tclUnixSock.c
+++ b/unix/tclUnixSock.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: tclUnixSock.c,v 1.2 1998/09/14 18:40:17 stanton Exp $
+ * RCS: @(#) $Id: tclUnixSock.c,v 1.2.4.1 1999/03/04 01:01:00 stanton Exp $
*/
#include "tcl.h"
@@ -98,3 +98,26 @@ Tcl_GetHostName()
hostname[0] = 0;
return hostname;
}
+
+/*
+ *----------------------------------------------------------------------
+ *
+ * TclHasSockets --
+ *
+ * Detect if sockets are available on this platform.
+ *
+ * Results:
+ * Returns TCL_OK.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+
+int
+TclHasSockets(interp)
+ Tcl_Interp *interp; /* Not used. */
+{
+ return TCL_OK;
+}