Enabled PCH for w32pthreads library. It compiles a *lot* faster now. ;) [whole thing rebuilds in under a second on my machine, heh]

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@639 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-03-01 05:06:25 +00:00
parent 88f95dd22e
commit 6f10835725
24 changed files with 686 additions and 44 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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 <process.h>
#endif

View File

@ -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;

View File

@ -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 <process.h>
#endif

View File

@ -35,5 +35,4 @@
*/
#include "pthread.h"
#include "implement.h"
#include "ptw32pch.h"

View File

@ -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;

View File

@ -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"

View File

@ -34,14 +34,14 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#include "ptw32pch.h"
#ifndef _UWIN
# include <process.h>
#endif
#ifndef NEED_FTIME
#include <sys/timeb.h>
#endif
#include "pthread.h"
#include "implement.h"
#include "ptw32_mutex_check_need_init.c"

View File

@ -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"

View File

@ -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"

View File

@ -235,18 +235,138 @@
<File
RelativePath=".\attr.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\barrier.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\cancel.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\cleanup.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\condvar.c"
@ -257,6 +377,9 @@
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
@ -265,6 +388,9 @@
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
@ -273,6 +399,9 @@
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
@ -283,66 +412,584 @@
<File
RelativePath=".\create.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\errno.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\exit.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\fork.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\global.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\misc.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\mutex.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\nonportable.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\private.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\ptw32pch.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\ptw32pch.h"
>
</File>
<File
RelativePath=".\rwlock.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\sched.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\semaphore.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\signal.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\spin.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\sync.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
<File
RelativePath=".\tsd.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
<FileConfiguration
Name="Devel|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="2"
PrecompiledHeaderThrough="ptw32pch.h"
PrecompiledHeaderFile="$(IntDir)\ptw32.pch"
/>
</FileConfiguration>
</File>
</Filter>
<Filter

4
3rdparty/w32pthreads/ptw32pch.c vendored Normal file
View File

@ -0,0 +1,4 @@
// Pcsx2-specific Feature: Precompiled Header support!
#include "ptw32pch.h"

10
3rdparty/w32pthreads/ptw32pch.h vendored Normal file
View File

@ -0,0 +1,10 @@
// Pcsx2-specific Feature: Precompiled Header support!
#ifndef _PTHREAD_W32_PCH_
#define _PTHREAD_W32_PCH_
#include "pthread.h"
#include "implement.h"
#endif

View File

@ -34,6 +34,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#include "ptw32pch.h"
#include "ptw32_rwlock_check_need_init.c"
#include "ptw32_rwlock_cancelwrwait.c"
#include "pthread_rwlock_init.c"

View File

@ -34,8 +34,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#include "pthread.h"
#include "implement.h"
#include "ptw32pch.h"
#include "sched.h"
#include "pthread_attr_setschedpolicy.c"

View File

@ -45,15 +45,15 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#include "ptw32pch.h"
#ifndef NEED_FTIME
# include <sys/timeb.h>
#endif
#include <limits.h>
#include "pthread.h"
#include "semaphore.h"
#include "implement.h"
#include "sem_init.c"

View File

@ -81,8 +81,7 @@
* pthread_t structure.
*/
#include "pthread.h"
#include "implement.h"
#include "ptw32pch.h"
#if HAVE_SIGSET_T

View File

@ -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"

View File

@ -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"

View File

@ -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"