Salome HOME
spns #32926: backport KERNEL & CONFIGURATION fixes on more recent platforms to ensure...
[tools/sat_salome.git] / products / patches / pthreads-2.9.1_windows.patch
1 --- pthreads_ref/pthread.h
2 +++ pthreads/pthread.h
3 @@ -204,6 +204,10 @@
4   */
5  typedef unsigned long DWORD_PTR;
6  typedef unsigned long ULONG_PTR;
7 +
8 +#endif
9 +#if defined(_MSC_VER) && _MSC_VER >= 1900 && !defined(_CRT_NO_TIME_T)
10 +#define _TIMESPEC_DEFINED
11  #endif
12  
13  /*
14 --- pthreads_ref/pthread.vcxproj
15 +++ pthreads/pthread.vcxproj
16 @@ -22,6 +22,7 @@
17      <SccProjectName />
18      <SccLocalPath />
19      <ProjectGuid>{12B9B46C-5D0F-4D41-9BCD-BFF77C6EC953}</ProjectGuid>
20 +    <WindowsTargetPlatformVersion>10.0.17134.0</WindowsTargetPlatformVersion>
21    </PropertyGroup>
22    <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
23    <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">