Hi,
Thanks for this patch. I will apply it. Is GCLP_HCURSOR also available under
32-bits?
Regards,
Arjen
-Original Message-
From: Biswapriyo Nath
Sent: 28 March 2023 08:06
To: plplot-devel@lists.sourceforge.net
Subject: [Plplot-devel] [PATCH] drivers/wingdi: Fix compiling in 64-bit
> Is GCLP_HCURSOR also available under 32-bits?
Yes, GCLP_HCURSOR is available for any architecture. Basically,
GCL_HCURSOR is undefined for 64-bit architectures like the following
in the winbase.h file in Windows SDK.
```
#ifdef _WIN64
#undef GCL_HCURSOR
#endif
```
This replaces GCL_HCURSOR with GCLP_HCURSOR because the previous one
is undefined in 64-bit Windows SDK and in mingw-w64 toolchain. Hence,
fixes the following compiler error.
plplot/drivers/wingdi.c: In function 'CrossHairCursor':
plplot/drivers/wingdi.c:201:33: error: 'GCL_HCURSOR' undeclared (fi