diff --git a/3rdparty/w32pthreads/attr.c b/3rdparty/w32pthreads/attr.c index a9d55f4a4b..ee1b9739f5 100644 --- a/3rdparty/w32pthreads/attr.c +++ b/3rdparty/w32pthreads/attr.c @@ -38,8 +38,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "pthread_attr_init.c" #include "pthread_attr_destroy.c" diff --git a/3rdparty/w32pthreads/barrier.c b/3rdparty/w32pthreads/barrier.c index 41b950cd12..d617f45742 100644 --- a/3rdparty/w32pthreads/barrier.c +++ b/3rdparty/w32pthreads/barrier.c @@ -34,9 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" - +#include "ptw32pch.h" #include "pthread_barrier_init.c" #include "pthread_barrier_destroy.c" diff --git a/3rdparty/w32pthreads/cancel.c b/3rdparty/w32pthreads/cancel.c index 1bd14ebe65..dfb5771251 100644 --- a/3rdparty/w32pthreads/cancel.c +++ b/3rdparty/w32pthreads/cancel.c @@ -34,9 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" - +#include "ptw32pch.h" #include "pthread_setcancelstate.c" #include "pthread_setcanceltype.c" diff --git a/3rdparty/w32pthreads/cleanup.c b/3rdparty/w32pthreads/cleanup.c index 381d1e87c8..9cbf3cfdb8 100644 --- a/3rdparty/w32pthreads/cleanup.c +++ b/3rdparty/w32pthreads/cleanup.c @@ -36,9 +36,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" - +#include "ptw32pch.h" /* * The functions ptw32_pop_cleanup and ptw32_push_cleanup diff --git a/3rdparty/w32pthreads/condvar.c b/3rdparty/w32pthreads/condvar.c index 704f4d7931..ec54e4968e 100644 --- a/3rdparty/w32pthreads/condvar.c +++ b/3rdparty/w32pthreads/condvar.c @@ -36,8 +36,7 @@ * */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "ptw32_cond_check_need_init.c" #include "pthread_condattr_init.c" diff --git a/3rdparty/w32pthreads/create.c b/3rdparty/w32pthreads/create.c index 9e9388b20c..1d8c6f0ce2 100644 --- a/3rdparty/w32pthreads/create.c +++ b/3rdparty/w32pthreads/create.c @@ -35,8 +35,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #ifndef _UWIN #include #endif diff --git a/3rdparty/w32pthreads/errno.c b/3rdparty/w32pthreads/errno.c index 9998bb8d53..0971438155 100644 --- a/3rdparty/w32pthreads/errno.c +++ b/3rdparty/w32pthreads/errno.c @@ -35,10 +35,9 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#if defined(NEED_ERRNO) +#include "ptw32pch.h" -#include "pthread.h" -#include "implement.h" +#if defined(NEED_ERRNO) static int reallyBad = ENOMEM; diff --git a/3rdparty/w32pthreads/exit.c b/3rdparty/w32pthreads/exit.c index 7eb9671bb9..c09b5e59c7 100644 --- a/3rdparty/w32pthreads/exit.c +++ b/3rdparty/w32pthreads/exit.c @@ -35,8 +35,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #ifndef _UWIN # include #endif diff --git a/3rdparty/w32pthreads/fork.c b/3rdparty/w32pthreads/fork.c index 8a29550caf..152d59d93e 100644 --- a/3rdparty/w32pthreads/fork.c +++ b/3rdparty/w32pthreads/fork.c @@ -35,5 +35,4 @@ */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" diff --git a/3rdparty/w32pthreads/global.c b/3rdparty/w32pthreads/global.c index c521d89615..d460a42c23 100644 --- a/3rdparty/w32pthreads/global.c +++ b/3rdparty/w32pthreads/global.c @@ -35,8 +35,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" int ptw32_processInitialized = PTW32_FALSE; diff --git a/3rdparty/w32pthreads/misc.c b/3rdparty/w32pthreads/misc.c index 06d1d21374..185b75657a 100644 --- a/3rdparty/w32pthreads/misc.c +++ b/3rdparty/w32pthreads/misc.c @@ -34,8 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "pthread_kill.c" diff --git a/3rdparty/w32pthreads/mutex.c b/3rdparty/w32pthreads/mutex.c index 2e60dabe4c..15c0f449c5 100644 --- a/3rdparty/w32pthreads/mutex.c +++ b/3rdparty/w32pthreads/mutex.c @@ -34,14 +34,14 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ +#include "ptw32pch.h" + #ifndef _UWIN # include #endif #ifndef NEED_FTIME #include #endif -#include "pthread.h" -#include "implement.h" #include "ptw32_mutex_check_need_init.c" diff --git a/3rdparty/w32pthreads/nonportable.c b/3rdparty/w32pthreads/nonportable.c index 33a9eeb90e..68e86899a9 100644 --- a/3rdparty/w32pthreads/nonportable.c +++ b/3rdparty/w32pthreads/nonportable.c @@ -34,8 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "pthread_mutexattr_setkind_np.c" #include "pthread_mutexattr_getkind_np.c" diff --git a/3rdparty/w32pthreads/private.c b/3rdparty/w32pthreads/private.c index 7e311b10ea..8399a70160 100644 --- a/3rdparty/w32pthreads/private.c +++ b/3rdparty/w32pthreads/private.c @@ -35,8 +35,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" /* Must be first to define HAVE_INLINABLE_INTERLOCKED_CMPXCHG */ #include "ptw32_InterlockedCompareExchange.c" diff --git a/3rdparty/w32pthreads/pthreads_2008.vcproj b/3rdparty/w32pthreads/pthreads_2008.vcproj index cac93c391f..bd8a5cfe5c 100644 --- a/3rdparty/w32pthreads/pthreads_2008.vcproj +++ b/3rdparty/w32pthreads/pthreads_2008.vcproj @@ -235,18 +235,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -283,66 +412,584 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + #endif #include -#include "pthread.h" #include "semaphore.h" -#include "implement.h" #include "sem_init.c" diff --git a/3rdparty/w32pthreads/signal.c b/3rdparty/w32pthreads/signal.c index 8f56c48b53..f511266296 100644 --- a/3rdparty/w32pthreads/signal.c +++ b/3rdparty/w32pthreads/signal.c @@ -81,8 +81,7 @@ * pthread_t structure. */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #if HAVE_SIGSET_T diff --git a/3rdparty/w32pthreads/spin.c b/3rdparty/w32pthreads/spin.c index 41b5aa5251..c0a6c5b33f 100644 --- a/3rdparty/w32pthreads/spin.c +++ b/3rdparty/w32pthreads/spin.c @@ -34,8 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "ptw32_spinlock_check_need_init.c" diff --git a/3rdparty/w32pthreads/sync.c b/3rdparty/w32pthreads/sync.c index 5e56fa9a1f..25c97c06db 100644 --- a/3rdparty/w32pthreads/sync.c +++ b/3rdparty/w32pthreads/sync.c @@ -35,8 +35,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "pthread_detach.c" diff --git a/3rdparty/w32pthreads/tsd.c b/3rdparty/w32pthreads/tsd.c index ed44fe6cb4..9a9b3b882b 100644 --- a/3rdparty/w32pthreads/tsd.c +++ b/3rdparty/w32pthreads/tsd.c @@ -34,8 +34,7 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#include "pthread.h" -#include "implement.h" +#include "ptw32pch.h" #include "pthread_key_create.c"