mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
(get_server_config): Declare set_fg as FARPROC to avoid a compiler warning.
This commit is contained in:
parent
947612be2c
commit
2dc07a1273
1 changed files with 1 additions and 1 deletions
|
|
@ -510,7 +510,7 @@ get_server_config (server, authentication)
|
|||
|
||||
if (hUser32 = LoadLibrary ("user32.dll"))
|
||||
{
|
||||
void (*set_fg)(DWORD);
|
||||
FARPROC set_fg;
|
||||
if (set_fg = GetProcAddress (hUser32, "AllowSetForegroundWindow"))
|
||||
set_fg (atoi (pid));
|
||||
FreeLibrary (hUser32);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue