inlcude/mingw.h: compilation errors associated with: IMPL(setlinebuf, void, , FILE * UNUSED_PARAM)
Cross-compiling for windows using mingw64_defconfig on CentOS 6.10 failed with errors associated with the following line (due to the empty return value specification):
IMPL(setlinebuf, void, , FILE * UNUSED_PARAM)
Replacing this with an explicit declaration:
void setlinebuf(FILE * UNUSED_PARAM);
Fixed the problem.