diff options
author | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2013-07-18 23:16:42 -0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-20 02:20:46 +0200 |
commit | 9ab73b6373a5f78d27a9587deedc8e9b2d565cc0 (patch) | |
tree | 95f2c4ae00f35382c110f2209c928c8e9b400ef2 /video/out/vo_corevideo.m | |
parent | 6ab2eebe5fdf9a4e075b6aa164f40e2bd89ee76e (diff) |
ao_wasapi0: Make it compile on cygwin64
Fixes format specifies that assume windows TYPEDEFS are as long as they look
like they are.
Remove calls to _beginthreadex and _endthreadex, these are only present on
microsoft's C runtimes. Replace by the otherwise identical CreateThread and
ExitThread calls.
This actually requires fixes to devicetopology.h, but the problem has been
(kinda) reported to mingw-w64:
<Kovensky> I see that those KSJACK* structs are supposedly declared in
devicetopology.h itself, but for some reason (some of?) the decls that use
them aren't seeing them?
<Kovensky> ok, it seems that it expects ks.h and ksmedia.h to declare those
structs, but it doesn't
<Kovensky> the included files declare KDATAFORMAT, KSIDENTIFIER and LUID (and
the associated pointer typedefs)
<Kovensky> but everything else is essentially inside #if 0
<Kovensky> changing the #ifndef _KS_ to only include KDATAFORMAT, KSIDENTIFIER
and LUID (and putting the KSJACK stuff outside that #ifndef) makes the
header compile
<Kovensky> it solves my immediate problem, but if that happened to begin with
there's probably something more wrong with the ks headers :S
Diffstat (limited to 'video/out/vo_corevideo.m')
0 files changed, 0 insertions, 0 deletions