UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Closed Submit Patch #5700 GWL_WNDPROC is undefined compiling source in Visual Studio 2017 for x64
Go to the next issue (open or closed)
Go to the next open issue
This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue basics
  • Type of issue
    Submit Patch
  • Category
    Not determined
  • Targetted for
    Not determined
  • Status
    Closed
  • Progress
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    RESOLVED
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
GWL_WNDPROC is undefined compiling source in Visual Studio 2017 for x64.

GWL_WNDPROC is used in win_console.cpp four times:
Line 369, 371, 454 and 455.

For x64 it has to be replaced with GWLP_WNDPROC.

Maybe you could use a macro:
#ifdef _WIN64
#define UFOAI_GWL_WNDPROC GWLP_WNDPROC
#else
#define UFOAI_GWL_WNDPROC GWL_WNDPROC
#endif
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif