diff options
author | Steve Bennett <steveb@workware.net.au> | 2014-01-04 09:57:20 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2014-01-15 07:16:48 +1000 |
commit | 830262f0a2c580dd33befa5bbe070b741d2eb396 (patch) | |
tree | 76213ef20d593d50aeecab0e0247fabed67d8a7c /jim-aio.c | |
parent | 1cde3735df984ffb93be44bcb42af93c8f7d6847 (diff) | |
download | jimtcl-830262f0a2c580dd33befa5bbe070b741d2eb396.zip jimtcl-830262f0a2c580dd33befa5bbe070b741d2eb396.tar.gz jimtcl-830262f0a2c580dd33befa5bbe070b741d2eb396.tar.bz2 |
jim-aio.c: Fix possible compile error for JIM_ANSIC
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'jim-aio.c')
-rw-r--r-- | jim-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -670,7 +670,7 @@ static int aio_cmd_eof(Jim_Interp *interp, int argc, Jim_Obj *const *argv) static int aio_cmd_close(Jim_Interp *interp, int argc, Jim_Obj *const *argv) { if (argc == 3) { -#ifdef HAVE_SHUTDOWN +#if !defined(JIM_ANSIC) && defined(HAVE_SHUTDOWN) static const char * const options[] = { "r", "w", NULL }; enum { OPT_R, OPT_W, }; int option; |