aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 689d2b4..d865ecf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,10 +10,12 @@
#include "common.h"
#include "config.h"
+#ifndef _WIN32
// if something fails
// we need to free the new argv
char** nargv;
static void free_nargv() { free(nargv); }
+#endif
static const struct Command main_commands[] = {
#ifndef _WIN32