Reuben Thomas wrote: > It's not really that I'm doing anything: gnulib seems to detect MSYS as > being a POSIX platform.
Not really; something in the configure step (which you haven't shown) made it "detect" some POSIX threads facility. > In the end I tried something a bit different, which was to reduce the > number of gnulib modules I was using, as for the code I'm writing it seemed > reasonable to assume C99 and POSIX.1-2008. ?? That makes no sense to me. Either you want to assume POSIX, or you want to support native Windows. You can't do both at the same time. Bruno