Commit f8db78d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: don't allow pthread to use config.h

parent 702a58c4
--- pthreads/pthread.h 2006-01-24 14:59:57.000000000 +0100
+++ pthreads.old/pthread.h 2011-05-08 13:00:21.382759343 +0200
@@ -210,10 +210,6 @@
* -----------------
*/
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif /* HAVE_CONFIG_H */
-
#ifndef NEED_FTIME
#include <time.h>
#else /* NEED_FTIME */
......@@ -2297,6 +2297,7 @@ pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz:
pthreads: pthreads-w32-$(PTHREADS_VERSION)-release.tar.gz
$(EXTRACT_GZ)
(cd $@; patch -p0 < ../Patches/pthreads-detach.patch)
patch -p0 < Patches/pthread-config-h.patch
sed -i 's/^CROSS.*=/CROSS ?=/' $@/GNUmakefile
ifdef HAVE_WIN64
(patch -p0 < Patches/pthreads-win64.patch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment