Windows 10 1809(x64)
Cygwin: 3.4.9-1
Gcc: 11.4.0-1
Make: 4.4.1-2
HTMLWindow.cpp:119: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLPUSERDATA’?
119 | SetWindowLong(hwnd, GWL_USERDATA, (LONG)this);
HTMLWindow.cpp:508: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
508 | HTMLWindow win = reinterpret_cast<HTMLWindow> (::GetWindowLong(hwnd, GWL_USERDATA));
HTMLWindow.cpp:535: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
535 | HTMLWindow win = reinterpret_cast<HTMLWindow> (::GetWindowLong(hwnd, GWL_USERDATA));
HTMLWindow.cpp:565: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’?
565 | HTMLWindow win = reinterpret_cast<HTMLWindow >(::GetWindowLong(hwnd, GWL_USERDATA));
Windows 10 1809(x64) Cygwin: 3.4.9-1 Gcc: 11.4.0-1 Make: 4.4.1-2
HTMLWindow.cpp:119: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLPUSERDATA’? 119 | SetWindowLong(hwnd, GWL_USERDATA, (LONG)this);
HTMLWindow.cpp:508: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’? 508 | HTMLWindow win = reinterpret_cast<HTMLWindow> (::GetWindowLong(hwnd, GWL_USERDATA));
HTMLWindow.cpp:535: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’? 535 | HTMLWindow win = reinterpret_cast<HTMLWindow> (::GetWindowLong(hwnd, GWL_USERDATA));
HTMLWindow.cpp:565: error: ‘GWL_USERDATA’ was not declared in this scope; did you mean ‘GWLP_USERDATA’? 565 | HTMLWindow win = reinterpret_cast<HTMLWindow >(::GetWindowLong(hwnd, GWL_USERDATA));