Home GnuPG

Fix declaration of lock_set_foreground_window for pinnetry-w32.
369e774ab835Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix declaration of lock_set_foreground_window for pinnetry-w32.

* w32/main.c (lock_set_foreground_window): Remove WINUSERAPI
qualifier.

WINUSERAPI is expanded to dllimport which is not what we want if we
load the symbol at runtime. This produces an error with mingw-w64
4.6.3-14+8

(backport from a gpg4win patch)

Details

Provenance
aheineckeAuthored on Apr 26 2013, 12:17 PM
wernerCommitted on Apr 26 2013, 12:17 PM
Parents
rP18b0d8849e51: Fix ressource compilation of pinentry-w32
Branches
Unknown
Tags
Unknown