MSVC: fix winansi.c compile errors
commit8f92d93c3bf5eba0f45505a1e2ee3c1bc840a091
authorKarsten Blees <blees@dcon.de>
Thu, 6 Oct 2011 17:40:56 +0000 (6 17:40 +0000)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:33 +0000 (20 17:45 -0600)
tree25ad2df07db810cb1c22a65dd6a5544f4caddcea
parentcbfcd85a7bc04443041e8652589d606f460623d8
MSVC: fix winansi.c compile errors

Some constants (such as LF_FACESIZE) are undefined with -DNOGDI (set in the
Makefile), and CONSOLE_FONT_INFOEX is available in MSVC, but not in MinGW.

Cast FARPROC to PGETCURRENTCONSOLEFONTEX to suppress MSVC compiler warning.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
compat/winansi.c