diff options
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 7facb7972e..c84007eb0d 100644 --- a/player/command.c +++ b/player/command.c @@ -5769,7 +5769,7 @@ void mp_notify(struct MPContext *mpctx, int event, void *arg) static void update_priority(struct MPContext *mpctx) { -#ifdef _WIN32 +#if defined(_WIN32) && HAVE_GPL struct MPOpts *opts = mpctx->opts; if (opts->w32_priority > 0) SetPriorityClass(GetCurrentProcess(), opts->w32_priority); |