mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Further fix for lcc-win32. The PuTTY suite now compiles fine for me
using lcc-win32 v3.8 (compilation date Mar 2 2005 18:40:17) provided I pass COMPAT="-DNO_IPV6 -DNO_MULTIMON" on the command line. [originally from svn r5573]
This commit is contained in:
parent
fd6e335af9
commit
19d5b9a829
@ -1214,8 +1214,17 @@ static void exact_textout(HDC hdc, int x, int y, CONST RECT *lprc,
|
|||||||
unsigned short *lpString, UINT cbCount,
|
unsigned short *lpString, UINT cbCount,
|
||||||
CONST INT *lpDx, int opaque)
|
CONST INT *lpDx, int opaque)
|
||||||
{
|
{
|
||||||
|
#ifdef __LCC__
|
||||||
|
/*
|
||||||
|
* The LCC include files apparently don't supply the
|
||||||
|
* GCP_RESULTSW type, but we can make do with GCP_RESULTS
|
||||||
|
* proper: the differences aren't important to us (the only
|
||||||
|
* variable-width string parameter is one we don't use anyway).
|
||||||
|
*/
|
||||||
|
GCP_RESULTS gcpr;
|
||||||
|
#else
|
||||||
GCP_RESULTSW gcpr;
|
GCP_RESULTSW gcpr;
|
||||||
|
#endif
|
||||||
char *buffer = snewn(cbCount*2+2, char);
|
char *buffer = snewn(cbCount*2+2, char);
|
||||||
char *classbuffer = snewn(cbCount, char);
|
char *classbuffer = snewn(cbCount, char);
|
||||||
memset(&gcpr, 0, sizeof(gcpr));
|
memset(&gcpr, 0, sizeof(gcpr));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user