aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2010-01-24 13:58:17 +1000
committerSteve Bennett <steveb@workware.net.au>2010-10-15 11:02:46 +1000
commit54f0f29b3d487ae04cb181ba957565662a21a5a0 (patch)
tree2e098c1726f8298036ded97158724bd7dd5d00f6 /jim-aio.c
parent57d2640b4ebbed560098538639e580d3d7d55d8d (diff)
downloadjimtcl-54f0f29b3d487ae04cb181ba957565662a21a5a0.zip
jimtcl-54f0f29b3d487ae04cb181ba957565662a21a5a0.tar.gz
jimtcl-54f0f29b3d487ae04cb181ba957565662a21a5a0.tar.bz2
Documentation, build system updates
Document reference-related commands *: ref, getref, setref, finalize, lambda were missing Build system updates *: Add check for long long to configure *: Change -Dwith_jim_ext_... to -Djim_ext_... *: Fix jim-eventloop when compiling with no long long
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jim-aio.c b/jim-aio.c
index c40d29e..b46019b 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -98,7 +98,7 @@ static void JimAioDelProc(Jim_Interp *interp, void *privData)
if (!(af->OpenFlags & AIO_KEEPOPEN)) {
fclose(af->fp);
}
-#ifdef with_jim_ext_eventloop
+#ifdef jim_ext_eventloop
/* remove existing EventHandlers */
if (af->rEvent) {
Jim_DeleteFileHandler(interp,af->fp);
@@ -381,7 +381,7 @@ static int aio_cmd_accept(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
return JIM_OK;
}
-#ifdef with_jim_ext_eventloop
+#ifdef jim_ext_eventloop
static void JimAioFileEventFinalizer(Jim_Interp *interp, void *clientData)
{
Jim_Obj *objPtr = clientData;
@@ -541,7 +541,7 @@ static const jim_subcmd_type command_table[] = {
.function = aio_cmd_accept,
.description = "Server socket only: Accept a connection and return stream"
},
-#ifdef with_jim_ext_eventloop
+#ifdef jim_ext_eventloop
{ .cmd = "readable",
.args = "?readable-script ?eof-script??",
.minargs = 0,