MSVC: fix winansi.c compile errors
commit09119bdfc5ae694589e011c9bb9554e82a6f72b5
authorKarsten Blees <blees@dcon.de>
Thu, 6 Oct 2011 17:40:56 +0000 (6 17:40 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 1 Oct 2012 13:34:42 +0000 (1 14:34 +0100)
tree30e9ddf3ee6a2bb87fa3230dde8ec8a8d11bd702
parentc208e89b7c2907cc1a77713a1e7732b016d68784
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