From 181dbe9efe7917b2ba5f75f64bf07d11ca6ca0d2 Mon Sep 17 00:00:00 2001 From: Pierre Ynard Date: Thu, 12 Nov 2009 03:05:56 +0100 Subject: [PATCH] contrib: add minimal errno.h target (for WinCE) WinCE lacks errno support and thus doesn't have an errno.h header. Since it is used like everywhere, contribs and VLC, we add a .errno target in the contribs, that fetches a minimal errno.h that allows everything to compile smoothly. This is how it was done before too. --- extras/contrib/src/Makefile | 16 ++++++++++++++++ extras/contrib/src/packages.mak | 1 + 2 files changed, 17 insertions(+) diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile index 09cd9512e5..eaf1859514 100644 --- a/extras/contrib/src/Makefile +++ b/extras/contrib/src/Makefile @@ -229,6 +229,22 @@ endef # $(INSTALL_NAME) # touch $@ +# *************************************************************************** +# errno +# *************************************************************************** + +errno: + mkdir -p $@ + $(WGET) $(ERRNO_URL)/errno.h -O $@/errno.h + +.errno: errno + mkdir -p $(PREFIX)/include + cp $