diff options
Diffstat (limited to 'testsuite/timeout/WinCBindings.hsc')
-rw-r--r-- | testsuite/timeout/WinCBindings.hsc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/timeout/WinCBindings.hsc b/testsuite/timeout/WinCBindings.hsc index 0c4ff3f5b4..a72cdcfafb 100644 --- a/testsuite/timeout/WinCBindings.hsc +++ b/testsuite/timeout/WinCBindings.hsc @@ -259,9 +259,10 @@ foreign import WINDOWS_CCONV unsafe "windows.h WaitForSingleObject" type JOBOBJECTINFOCLASS = CInt type PVOID = Ptr () - -type ULONG_PTR = CUIntPtr type PULONG_PTR = Ptr ULONG_PTR +#if !MIN_VERSION_Win32(2,5,0) +type ULONG_PTR = CUIntPtr +#endif jobObjectExtendedLimitInformation :: JOBOBJECTINFOCLASS jobObjectExtendedLimitInformation = #const JobObjectExtendedLimitInformation |