diff options
author | oharboe <oharboe> | 2008-06-15 21:03:26 +0000 |
---|---|---|
committer | oharboe <oharboe> | 2008-06-15 21:03:26 +0000 |
commit | 9aeeac30ada9c232a8db2cf642650bafa9dca1c1 (patch) | |
tree | 363b15137d3fcaf2e5a7df44a208efa534737c8c /jim-aio.c | |
parent | 8616a94f170357b3214006ad0f09d6b04db047a3 (diff) | |
download | jimtcl-9aeeac30ada9c232a8db2cf642650bafa9dca1c1.zip jimtcl-9aeeac30ada9c232a8db2cf642650bafa9dca1c1.tar.gz jimtcl-9aeeac30ada9c232a8db2cf642650bafa9dca1c1.tar.bz2 |
* ChangeLog, jim.c, jim.h, jim-aio.c: Support for eCos.
Diffstat (limited to 'jim-aio.c')
-rw-r--r-- | jim-aio.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* Jim - ANSI I/O extension * Copyright 2005 Salvatore Sanfilippo <antirez@invece.org> * - * $Id: jim-aio.c,v 1.11 2007/01/31 00:49:05 patthoyts Exp $ + * $Id: jim-aio.c,v 1.12 2008/06/15 21:03:26 oharboe Exp $ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,10 +23,17 @@ #include <string.h> #include <errno.h> +#ifdef __ECOS +#include <pkgconf/jimtcl.h> +#endif #ifndef JIM_STATICEXT #define JIM_EXTENSION #endif +#ifdef __ECOS +#include <cyg/jimtcl/jim.h> +#else #include "jim.h" +#endif #define AIO_CMD_LEN 128 #define AIO_BUF_LEN 1024 |