Commit 27e40c37 authored by Pierre Ynard's avatar Pierre Ynard

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

It breaks the build of pthread.

This reverts commit f8db78d5.
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 4553a9ad
--- 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,7 +2297,6 @@ 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