5 Commits

Author SHA1 Message Date
Andrew Kelley
20ac253859
reapply mingw-w64 header patches
Fix compilation w/ clang
f83bb3dd9e68899ca39cdddb7d84c2ad1c833d55
2020-03-05 15:41:28 -05:00
Andrew Kelley
8e5913cfee
update mingw-w64 headers to v7.0.0 2020-03-05 15:41:28 -05:00
LemonBoy
f83bb3dd9e Fix compilation w/ clang
Clang pretends to be gcc 4.4 and that causes some re-definition errors.
The problem has been reported to the upstream some time ago but nothing
was done about it.
2019-10-09 22:44:35 +02:00
Andrew Kelley
c161ce3f7c
mingw-w64 libc: fix incorrect detection of _xgetbv
It was using __GNUC__ < 8 to check if _xgetbv intrinsic is available.
Since we always use zig cc with this header, we know we have clang 9,
which does have this intrinsic.
2019-09-22 19:10:27 -04:00
Andrew Kelley
49d1a4c562 move lib dirs to lib subdir
also start prefering NtDll API. so far:
 * NtQueryInformationFile
 * NtClose

adds a performance workaround for windows unicode conversion. but that
should probably be removed before merging
2019-07-15 17:54:50 -04:00