From b1a4b00091752f16453f22202de9b9a399cbdcb3 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 9 Oct 2007 19:30:17 +0000 Subject: [PATCH] Preprocessor statements have to start at the beginning of a line for old compilers! --- src/api/api_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/api_lib.c b/src/api/api_lib.c index c0a93b66..76da51a2 100644 --- a/src/api/api_lib.c +++ b/src/api/api_lib.c @@ -375,13 +375,13 @@ netconn_accept(struct netconn *conn) LWIP_ERROR("netconn_accept: invalid conn", (conn != NULL), return NULL;); LWIP_ERROR("netconn_accept: invalid acceptmbox", (conn->acceptmbox != SYS_MBOX_NULL), return NULL;); - #if LWIP_SO_RCVTIMEO +#if LWIP_SO_RCVTIMEO if (sys_arch_mbox_fetch(conn->acceptmbox, (void *)&newconn, conn->recv_timeout)==SYS_ARCH_TIMEOUT) { newconn = NULL; } - #else +#else sys_arch_mbox_fetch(conn->acceptmbox, (void *)&newconn, 0); - #endif /* LWIP_SO_RCVTIMEO*/ +#endif /* LWIP_SO_RCVTIMEO*/ /* Register event with callback */ if (conn->callback)