Merge pull request #4275 from lemondrops/patch-3

Fix Ghostscript DLL filename in an error message on 64-bit Windows
This commit is contained in:
Miran Grča
2024-03-16 00:09:53 +01:00
committed by GitHub

View File

@@ -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"