Revert revert of WinMain utf-8 handling and fix the bugs.
authorTor Andersson <[email protected]>
Wed, 19 Aug 2015 10:14:52 +0000 (12:14 +0200)
committerRobin Watts <[email protected]>
Mon, 24 Aug 2015 09:32:50 +0000 (10:32 +0100)
commitdb3f7ffe32808fde89ce7696066c0b1276756703
tree4945d22f62bcd475cf54605b7ad6515e6ae5f50e
parent697f6a7cc3eb4230fcf0825b23125c54cbbe412b
Revert revert of WinMain utf-8 handling and fix the bugs.

Also fix a few ifdefs in time.c so that it builds on MinGW.
platform/win32/libmupdf.vcproj
platform/x11/win_main.c
source/fitz/getoptw.c [deleted file]
source/fitz/time.c