From: Hazen B. <hba...@ma...> - 2015-07-08 15:12:18
|
On 07/06/2015 01:26 PM, Greg Jung wrote: > I have been using the calls > - SetWindowLong( aStream->hwnd, GWL_USERDATA, (long) pls ); > + SetWindowLongPtr( aStream->hwnd, GWLP_USERDATA, (LONG_PTR) pls ); > > in both 32- and 64-bit compiled wincairo application for months, as well as > in wingcc. They work. AFAICT there's > no reason to maintain #ifdef _WIN64 conditionals as long as you go with > these calls. > > I hadn't noticed the omission of <cairo-win32.h> except it now removes a > worrisome warning I got > in 64-bit compilation (the 32-bit comnpilation didn't need this, evidently). Ok, I just pushed this so let me know if it causes any problems. -Hazen |