If a function is generally applicable, but not implemented for a particular platform I would try and keep the conditional code as much as possible out into separate functions.  E..g, implement flush_fbuffers as a null implementation in the windows case - but it might be implemented later.

It makes the code that uses it much easier to read as well.