Skip to content

Commit

Permalink
Merge pull request 86Box#4275 from lemondrops/patch-3
Browse files Browse the repository at this point in the history
Fix Ghostscript DLL filename in an error message on 64-bit Windows
  • Loading branch information
OBattler authored Mar 15, 2024
2 parents d9bf1ec + 5d57026 commit d2cff08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/qt/qt_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,11 @@ c16stombs(char dst[], const uint16_t src[], int len)
#endif

#ifdef _WIN32
# define LIB_NAME_GS "gsdll32.dll"
# if defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(_M_X64)
# define LIB_NAME_GS "gsdll64.dll"
# else
# define LIB_NAME_GS "gsdll32.dll"
#endif
# define MOUSE_CAPTURE_KEYSEQ "F8+F12"
#else
# define LIB_NAME_GS "libgs"
Expand Down

0 comments on commit d2cff08

Please sign in to comment.