From: oharboe at B. <oh...@ma...> - 2009-06-05 08:43:10
|
Author: oharboe Date: 2009-06-05 08:43:09 +0200 (Fri, 05 Jun 2009) New Revision: 2074 Removed: zy1000/trunk/build/include/getopt.h zy1000/trunk/build/include/inttypes.h zy1000/trunk/build/include/strings.h zy1000/trunk/build/include/sys/ Modified: trunk/src/helper/system.h Log: remove hacks no longer required to build OpenOCD w/eCos Modified: trunk/src/helper/system.h =================================================================== --- trunk/src/helper/system.h 2009-06-05 06:42:20 UTC (rev 2073) +++ trunk/src/helper/system.h 2009-06-05 06:43:09 UTC (rev 2074) @@ -59,6 +59,14 @@ #ifdef HAVE_SYS_POLL_H #include <sys/poll.h> #endif + +#ifdef __ECOS +/* missing from eCos */ +#ifndef EFAULT +#define EFAULT 14 /* Bad address */ +#endif +#endif + #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif Deleted: zy1000/trunk/build/include/getopt.h =================================================================== --- zy1000/trunk/build/include/getopt.h 2009-06-05 06:42:20 UTC (rev 2073) +++ zy1000/trunk/build/include/getopt.h 2009-06-05 06:43:09 UTC (rev 2074) @@ -1 +0,0 @@ -/* An empty file to avoid having to modify OpenOCD */ Deleted: zy1000/trunk/build/include/inttypes.h =================================================================== --- zy1000/trunk/build/include/inttypes.h 2009-06-05 06:42:20 UTC (rev 2073) +++ zy1000/trunk/build/include/inttypes.h 2009-06-05 06:43:09 UTC (rev 2074) @@ -1,7 +0,0 @@ -// does not come w/eCos so we have this placeholder include file to avoid changing OpenOCD too much -#define PRId64 "lld" -#define PRIi64 "lli" -#define PRIo64 "llo" -#define PRIu64 "llu" -#define PRIx64 "llx" -#define PRIX64 "llX" Deleted: zy1000/trunk/build/include/strings.h =================================================================== --- zy1000/trunk/build/include/strings.h 2009-06-05 06:42:20 UTC (rev 2073) +++ zy1000/trunk/build/include/strings.h 2009-06-05 06:43:09 UTC (rev 2074) @@ -1 +0,0 @@ -/* An empty file to avoid having to modify OpenOCD */ |