From 42e76b8619ec7c018b7b20349cbf0e86dcc58366 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Thu, 18 Nov 2021 11:29:51 +0100 Subject: Correct ifdef guards --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 8995556..67f99db 100644 --- a/src/main.c +++ b/src/main.c @@ -16,7 +16,7 @@ #include "common.h" #include "config.h" -#ifndef WINE_ENABLED +#ifdef WINE_ENABLED // if something fails // we need to free the new argv char** nargv; @@ -43,7 +43,7 @@ static const struct Flag main_flags[] = { COMMAND_GROUP(main) { -#ifndef WINE_ENABLED +#ifdef WINE_ENABLED char* arg0 = basename(argv[0]); if (!strncmp(WINE_PREFIX, arg0, strlen(WINE_PREFIX))) { -- cgit v1.2.3