Mercurial > flash_v2
diff packages/net/tcpip/current/tests/socket_test.c @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | ced4577552cd |
| children |
line wrap: on
line diff
--- a/packages/net/tcpip/current/tests/socket_test.c +++ b/packages/net/tcpip/current/tests/socket_test.c @@ -56,6 +56,10 @@ #include <network.h> +#ifndef CYGPKG_LIBC_STDIO +#define perror(s) diag_printf(#s ": %s\n", strerror(errno)) +#endif + #define STACK_SIZE CYGNUM_HAL_STACK_SIZE_TYPICAL static char stack[STACK_SIZE]; static cyg_thread thread_data;
