diff packages/net/tcpip/current/tests/ftp_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 02ea4320376c
children 511f4dc167f6
line wrap: on
line diff
--- a/packages/net/tcpip/current/tests/ftp_test.c
+++ b/packages/net/tcpip/current/tests/ftp_test.c
@@ -55,6 +55,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 + 0x1000)
 static char stack[STACK_SIZE];
 static cyg_thread thread_data;