aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-11-18 11:29:51 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-11-18 11:29:51 +0100
commit42e76b8619ec7c018b7b20349cbf0e86dcc58366 (patch)
treee37d040c8653154e09a6cf6439088c8edc256645
parent654b24b37c2e657a67060e45bfd8fb6495bd7dff (diff)
downloadpolecat-42e76b8619ec7c018b7b20349cbf0e86dcc58366.tar.gz
polecat-42e76b8619ec7c018b7b20349cbf0e86dcc58366.zip
Correct ifdef guards
-rw-r--r--src/main.c4
1 files 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)))
{