summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-04-01 19:43:58 -0700
committerMichael Pavone <pavone@retrodev.com>2014-04-01 19:43:58 -0700
commitc51f057715587f133abe9bfb32d6d453a7af698b (patch)
treef35a343e06ab8ad3ad4652a97878d0b62402a6d0 /util.c
parent4d15ffc63362410563a49481faf9652c138945ac (diff)
Initial work on Windows port
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