Skip to content

Commit

Permalink
Fixes 32-bit build regression. Win32 callback functions must be __std…
Browse files Browse the repository at this point in the history
…call, which seems to be the default for 64-bit builds but not fore 32-bit builds. So, make 32-bit builds work again by being specific about enumImageResources callback.
  • Loading branch information
marceltaeumel committed Apr 5, 2024
1 parent c007318 commit 8e9abfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/win32/vm/sqWin32Main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ static LPSTR imageResourceName = NULL;
#define IMRESTYPE (LPCSTR)RT_RCDATA

#define theVM (HMODULE)0
static BOOL
static BOOL __stdcall
enumImageResources(HMODULE hModule, LPCSTR lpType, LPSTR lpName, LONG_PTR ign)
{
HRSRC resource;
Expand Down

0 comments on commit 8e9abfb

Please sign in to comment.