Created attachment 34433 [details] [review]
Attached patch fixes the compilation on Mingw+MSYS
"struct tms" mus be defined only if HAVE_SYS_TIMES_H is true.
The link stage generated an error because there were two incompatible options: -export-symbols and -export-symbols-regex. The second one is enought for mingw too so I removed the first one.
This file was wrong and there were many missing functions.
It is not used anymore with mingw but I fixed if somebody would like to build fribidi with MSVC. Do not forget to keep CR-LF line ending in this file when committing.
"make check" failed because the output file CR-LF line endings since it was capture from the console. Now it detects if the platform needs to strip CR characters. You may add more platforms that have this behaviour if you find some.
Tested platforms successfully: mingw+msys, cygwin, Debian 5.0 under coLinux.
I hope it could be useful for fixing fribidi support on Windows and you could release a new version soon.
PS: I have also fixed version 0.10.9 to work on Windows too. Would it be useful a patch for the older stable version?