MSVC: fix winansi.c compile errors
commitf5c7b9120874c85968be7ea3ce3bef206060e34f
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 15:50:28 +0000 (7 16:50 +0100)
committerKarsten Blees <blees@dcon.de>
Sat, 8 Jan 2011 16:30:13 +0000 (8 17:30 +0100)
treee3c52a88b98bbcf8aaba4b0a7a4a132cccacbb84
parent48ce28884bffa1073ab3d4b6ccb5b44c66d0caf5
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>
compat/winansi.c