[vlc-commits] contrib: pthreads: remove pthreads.h edit line

Steve Lhomme git at videolan.org
Wed May 16 22:16:07 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 16 22:14:51 2018 +0200| [b29a7e4fb051d9779f47dd8a3e78e296a3bc442b] | committer: Steve Lhomme

contrib: pthreads: remove pthreads.h edit line

HAVE_CONFIG_H is not used anymore

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b29a7e4fb051d9779f47dd8a3e78e296a3bc442b
---

 contrib/src/pthreads/rules.mak | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/src/pthreads/rules.mak b/contrib/src/pthreads/rules.mak
index 6faf3478bb..c98ddac46b 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -34,8 +34,6 @@ endif
 	cd $< && $(HOSTVARS) $(PTHREADS_W32_CONF) $(MAKE) GC-static
 	mkdir -p -- "$(PREFIX)/include"
 	cd $< && cp -v pthread.h sched.h semaphore.h "$(PREFIX)/include/"
-	sed -e 's/#if HAVE_CONFIG_H/#if 0 \&\& HAVE_CONFIG_H/' -i \
-		"$(PREFIX)/include/pthread.h"
 	mkdir -p -- "$(PREFIX)/lib"
 	cp -v $</*.a "$(PREFIX)/lib/"
 	touch $@



More information about the vlc-commits mailing list