From fca25479ad4ec0e194f6332264138957935ed57c Mon Sep 17 00:00:00 2001 From: fbernon Date: Fri, 31 Aug 2007 09:42:32 +0000 Subject: [PATCH] Minor fix (else, cause build error). Since SO_REUSE is always used in the code (even if the current code is not working), it is defined in opt.h with 0 as default value (it's normal). So, the error is not if it is defined, but if it is defined to 1. --- src/core/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/init.c b/src/core/init.c index 448c9199..f3567bb5 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -114,7 +114,7 @@ #ifdef ETHARP_ALWAYS_INSERT #error ETHARP_ALWAYS_INSERT option is deprecated. Remove it from your lwipopts.h. #endif -#ifdef SO_REUSE +#if SO_REUSE /* I removed the lot since this was an ugly hack. It broke the raw-API. It also came with many ugly goto's, Christiaan Simons. */ #error "SO_REUSE currently unavailable, this was a hack"