Fix lwip compilation with arm-2010.09-51- toolchain
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Dec 2010 14:11:22 +0000 (14:11 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 22 Dec 2010 14:11:22 +0000 (14:11 +0000)
commitb13c55c6053d6b91e5073022df276f3d199398bf
treefb4b6608f158356fb71dd56b64cf596be24fca92
parent1545cffc84576287b43e3f873eed0df3c8f8c20a
Fix lwip compilation with arm-2010.09-51- toolchain

The error ESHUTDOWN was not recognized with the latest
arm toolchain because it requires a particular define.

This patch defines the __LINUX_ERRNO_EXTENSIONS__ macro
at the top of the lwip.c file because it's required only
to compile lwip.
If needed, it should be defined only for arm toolchains.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4650 38d2e660-2303-0410-9eaa-f027e97ec537
bertos/net/lwip.c