Closed bermanjosh closed 7 years ago
Here's my understanding: Please let me know if I've made a mistake.
It looks like fILE_APPEND_DATA
was being defined twice, but wasn't a problem on newer versions of GHC using Win32
> 2.4. The fILE_APPEND_DATA
AccessMode
was added to Win32
between 2.3.1.1 and 2.4.0.0, so when we removed the 2nd, extra local definition on anything using version 2.3.1.1, the earlier CPP pragma wasn't kicking in either, and there was no definition in Win32
.
I'll be sending a PR I tested on GHC 7.8.4 and 8.0.2. Let me know if there's anything else you want tested.
Let's close.
The fix for #119 fails on older versions of GHC (7.8.* and I assume lower, though I haven't checked) with the following errors:
Issue's probably here