summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index 2bc3109..7fee9db 100644
--- a/util.c
+++ b/util.c
@@ -75,6 +75,7 @@ void set_exe_str(char * str)
exe_str = str;
}
+#ifndef _WIN32
char * readlink_alloc(char * path)
{
char * linktext = NULL;
@@ -138,3 +139,4 @@ fallback:
}
return exe_dir;
}
+#endif