diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -139,7 +139,7 @@ char * get_exe_dir() static char * exe_dir; if (!exe_dir) { char * cur; -#ifndef HAS_PROC +#ifdef HAS_PROC char * linktext = readlink_alloc("/proc/self/exe"); if (!linktext) { goto fallback; @@ -169,7 +169,7 @@ fallback: break; } } -#ifndef HAS_PROC +#ifdef HAS_PROC } else { exe_dir = linktext; } |