Created attachment 554818 [details] [diff] [review] fix v1.0 __inout is not defined on mingw because it conflicts with GCC-provided headers. Also the test uses wmain, which is tricky to get right on mingw. Since tests don't use main arguments anyway, I've just changed it to regular main.
Thanks for the quick review! http://hg.mozilla.org/integration/mozilla-inbound/rev/98f26632de7f