aboutsummaryrefslogtreecommitdiff
path: root/jim-aio.c
diff options
context:
space:
mode:
authoroharboe <oharboe>2008-07-23 15:35:11 +0000
committeroharboe <oharboe>2008-07-23 15:35:11 +0000
commit269f158a92c13cad5720f9c75ed56bc0d673d181 (patch)
tree655d896b1076baa414190003c50418dcb832aecf /jim-aio.c
parent19f2d7e229e7bc7afbc140e9f83c1140ad1e27ac (diff)
downloadjimtcl-269f158a92c13cad5720f9c75ed56bc0d673d181.zip
jimtcl-269f158a92c13cad5720f9c75ed56bc0d673d181.tar.gz
jimtcl-269f158a92c13cad5720f9c75ed56bc0d673d181.tar.bz2
JIM_SUPPORT_EVENTLOOP added
Diffstat (limited to 'jim-aio.c')
-rw-r--r--jim-aio.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/jim-aio.c b/jim-aio.c
index 67a44a2..9afb2f2 100644
--- a/jim-aio.c
+++ b/jim-aio.c
@@ -56,6 +56,13 @@
#ifndef JIM_STATICEXT
#define JIM_EXTENSION
#endif
+
+/* FIX!!! add #if's to make JIM_SUPPORT_EVENTLOOP enable/disable
+ * eventloop support compile time! */
+#ifndef JIM_SUPPORT_EVENTLOOP
+#define JIM_SUPPORT_EVENTLOOP 1
+#endif
+
#ifdef __ECOS
#include <cyg/jimtcl/jim.h>
#include <cyg/jimtcl/jim-eventloop.h>
@@ -64,6 +71,9 @@
#include "jim-eventloop.h"
#endif
+
+
+
#define AIO_CMD_LEN 128
#define AIO_BUF_LEN 1024